pub enum Placement {
Above,
Below,
Left,
Right,
AboveCentered,
BelowCentered,
}Expand description
Where to place the popover relative to the anchor.
Variants§
Above
Above the anchor, horizontally aligned to its left edge.
Below
Below the anchor, horizontally aligned to its left edge.
Left
To the left of the anchor, vertically aligned to its top edge.
Right
To the right of the anchor, vertically aligned to its top edge.
AboveCentered
Above the anchor, horizontally centered.
BelowCentered
Below the anchor, horizontally centered.
Trait Implementations§
impl Copy for Placement
impl Eq for Placement
impl StructuralPartialEq for Placement
Auto Trait Implementations§
impl Freeze for Placement
impl RefUnwindSafe for Placement
impl Send for Placement
impl Sync for Placement
impl Unpin for Placement
impl UnsafeUnpin for Placement
impl UnwindSafe for Placement
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.