pub enum PopupSide {
Below,
Right,
}Expand description
Which side of the anchor a popup prefers on its primary axis.
Variants§
Below
Below the anchor; flips above near the viewport bottom (dropdowns, menus).
Right
Right of the anchor; flips left near the viewport right edge (tooltips, submenus).
Trait Implementations§
impl Copy for PopupSide
impl Eq for PopupSide
impl StructuralPartialEq for PopupSide
Auto Trait Implementations§
impl Freeze for PopupSide
impl RefUnwindSafe for PopupSide
impl Send for PopupSide
impl Sync for PopupSide
impl Unpin for PopupSide
impl UnsafeUnpin for PopupSide
impl UnwindSafe for PopupSide
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> DynEq for T
impl<T> DynEq for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.