pub struct Menu { /* private fields */ }Expand description
A click-to-open popup menu anchored below a trigger Response.
Call Menu::show_below after painting the trigger; it opens on
trigger clicks and closes on item click, outside-click, or Esc.
Implementations§
Source§impl Menu
impl Menu
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Menu
impl RefUnwindSafe for Menu
impl Send for Menu
impl Sync for Menu
impl Unpin for Menu
impl UnsafeUnpin for Menu
impl UnwindSafe for Menu
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