Enum dfhack_proto::messages::MenuAction
source · pub enum MenuAction {
MenuNone,
MenuSelect,
MenuCancel,
MenuSelectAll,
}Variants§
Trait Implementations§
source§impl Clone for MenuAction
impl Clone for MenuAction
source§fn clone(&self) -> MenuAction
fn clone(&self) -> MenuAction
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 Debug for MenuAction
impl Debug for MenuAction
source§impl Default for MenuAction
impl Default for MenuAction
source§impl Enum for MenuAction
impl Enum for MenuAction
source§fn from_i32(value: i32) -> Option<MenuAction>
fn from_i32(value: i32) -> Option<MenuAction>
Try to create an enum from
i32 value.
Return None if value is unknown.source§const VALUES: &'static [MenuAction] = _
const VALUES: &'static [MenuAction] = _
All enum values for enum type.
source§impl EnumFull for MenuAction
impl EnumFull for MenuAction
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl Hash for MenuAction
impl Hash for MenuAction
source§impl PartialEq<MenuAction> for MenuAction
impl PartialEq<MenuAction> for MenuAction
source§fn eq(&self, other: &MenuAction) -> bool
fn eq(&self, other: &MenuAction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for MenuAction
impl Eq for MenuAction
impl StructuralEq for MenuAction
impl StructuralPartialEq for MenuAction
Auto Trait Implementations§
impl RefUnwindSafe for MenuAction
impl Send for MenuAction
impl Sync for MenuAction
impl Unpin for MenuAction
impl UnwindSafe for MenuAction
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