pub enum PopoverSide {
Top,
Bottom,
Left,
Right,
}Expand description
Which side of the trigger the popover opens on.
The popover will try the requested side first and fall back to the opposite side if the requested placement doesn’t fit in the viewport.
Variants§
Top
Opens above the trigger; arrow points down.
Bottom
Opens below the trigger; arrow points up. The default.
Left
Opens to the left of the trigger; arrow points right.
Right
Opens to the right of the trigger; arrow points left.
Trait Implementations§
Source§impl Clone for PopoverSide
impl Clone for PopoverSide
Source§fn clone(&self) -> PopoverSide
fn clone(&self) -> PopoverSide
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PopoverSide
impl Debug for PopoverSide
Source§impl PartialEq for PopoverSide
impl PartialEq for PopoverSide
impl Copy for PopoverSide
impl Eq for PopoverSide
impl StructuralPartialEq for PopoverSide
Auto Trait Implementations§
impl Freeze for PopoverSide
impl RefUnwindSafe for PopoverSide
impl Send for PopoverSide
impl Sync for PopoverSide
impl Unpin for PopoverSide
impl UnsafeUnpin for PopoverSide
impl UnwindSafe for PopoverSide
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