pub enum PopupPlacement {
Below,
Above,
Left,
Right,
}Expand description
Which side of its anchor a popup opens on.
Variants§
Below
Below the anchor, left edges aligned.
Above
Above the anchor, left edges aligned.
Left
To the left of the anchor, top edges aligned.
Right
To the right of the anchor, top edges aligned: a submenu.
Trait Implementations§
Source§impl Clone for PopupPlacement
impl Clone for PopupPlacement
impl Copy for PopupPlacement
Source§impl Debug for PopupPlacement
impl Debug for PopupPlacement
Source§impl Default for PopupPlacement
impl Default for PopupPlacement
impl Eq for PopupPlacement
Source§impl Hash for PopupPlacement
impl Hash for PopupPlacement
Source§impl PartialEq for PopupPlacement
impl PartialEq for PopupPlacement
impl StructuralPartialEq for PopupPlacement
Auto Trait Implementations§
impl Freeze for PopupPlacement
impl RefUnwindSafe for PopupPlacement
impl Send for PopupPlacement
impl Sync for PopupPlacement
impl Unpin for PopupPlacement
impl UnsafeUnpin for PopupPlacement
impl UnwindSafe for PopupPlacement
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