Struct menu2::ShowContextMenu
source · pub struct ShowContextMenu;
Trait Implementations§
source§impl Action for ShowContextMenu
impl Action for ShowContextMenu
fn name(&self) -> &'static str
fn debug_name() -> &'static strwhere Self: Sized,
fn build(value: Value) -> Result<Box<dyn Action>>where Self: Sized,
fn partial_eq(&self, action: &dyn Action) -> bool
fn boxed_clone(&self) -> Box<dyn Action>
fn as_any(&self) -> &dyn Any
source§impl Clone for ShowContextMenu
impl Clone for ShowContextMenu
source§fn clone(&self) -> ShowContextMenu
fn clone(&self) -> ShowContextMenu
Returns a copy 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 Default for ShowContextMenu
impl Default for ShowContextMenu
source§fn default() -> ShowContextMenu
fn default() -> ShowContextMenu
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ShowContextMenu
impl<'de> Deserialize<'de> for ShowContextMenu
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ShowContextMenu> for ShowContextMenu
impl PartialEq<ShowContextMenu> for ShowContextMenu
source§fn eq(&self, other: &ShowContextMenu) -> bool
fn eq(&self, other: &ShowContextMenu) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ShowContextMenu
Auto Trait Implementations§
impl RefUnwindSafe for ShowContextMenu
impl Send for ShowContextMenu
impl Sync for ShowContextMenu
impl Unpin for ShowContextMenu
impl UnwindSafe for ShowContextMenu
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