pub enum PopoverPosition {
Top,
Bottom,
Left,
Right,
Auto,
}Expand description
Popover position relative to anchor
Variants§
Top
Above the anchor
Bottom
Below the anchor
Left
To the left of the anchor
Right
To the right of the anchor
Auto
Automatically choose based on available space
Trait Implementations§
Source§impl Clone for PopoverPosition
impl Clone for PopoverPosition
Source§fn clone(&self) -> PopoverPosition
fn clone(&self) -> PopoverPosition
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 PopoverPosition
impl Debug for PopoverPosition
Source§impl Default for PopoverPosition
impl Default for PopoverPosition
Source§fn default() -> PopoverPosition
fn default() -> PopoverPosition
Returns the “default value” for a type. Read more
Source§impl PartialEq for PopoverPosition
impl PartialEq for PopoverPosition
impl Copy for PopoverPosition
impl Eq for PopoverPosition
impl StructuralPartialEq for PopoverPosition
Auto Trait Implementations§
impl Freeze for PopoverPosition
impl RefUnwindSafe for PopoverPosition
impl Send for PopoverPosition
impl Sync for PopoverPosition
impl Unpin for PopoverPosition
impl UnsafeUnpin for PopoverPosition
impl UnwindSafe for PopoverPosition
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