pub struct MenuOnOpen(/* private fields */);Expand description
Builds a node’s context menu (or a menu button’s menu) as the platform
opens it, for menus that depend on what’s under the pointer and
selected at that moment (a table’s rows). Calling it builds the menu,
makes it the node’s Prop::ContextMenu
(or Prop::Menu), and returns it, for the
platform to show. Equal only to itself.
Implementations§
Trait Implementations§
Source§impl Clone for MenuOnOpen
impl Clone for MenuOnOpen
Source§impl Debug for MenuOnOpen
impl Debug for MenuOnOpen
Auto Trait Implementations§
impl !RefUnwindSafe for MenuOnOpen
impl !Send for MenuOnOpen
impl !Sync for MenuOnOpen
impl !UnwindSafe for MenuOnOpen
impl Forget for MenuOnOpen
impl Freeze for MenuOnOpen
impl Unpin for MenuOnOpen
impl UnsafeUnpin for MenuOnOpen
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