pub struct ContextMenu { /* private fields */ }Implementations§
Source§impl ContextMenu
impl ContextMenu
pub fn new(trigger_id: String) -> ContextMenu
pub fn item(self, item: ContextMenuItem) -> ContextMenu
Trait Implementations§
Source§impl Renderable for ContextMenu
impl Renderable for ContextMenu
Auto Trait Implementations§
impl Freeze for ContextMenu
impl RefUnwindSafe for ContextMenu
impl Send for ContextMenu
impl Sync for ContextMenu
impl Unpin for ContextMenu
impl UnwindSafe for ContextMenu
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