#[non_exhaustive]#[repr(u8)]pub enum MenuState {
Activated = 0,
Deactivated = 1,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl OperandEncodable for MenuState
impl OperandEncodable for MenuState
Source§impl TryFromPrimitive for MenuState
impl TryFromPrimitive for MenuState
impl Copy for MenuState
impl Eq for MenuState
impl StructuralPartialEq for MenuState
Auto Trait Implementations§
impl Freeze for MenuState
impl RefUnwindSafe for MenuState
impl Send for MenuState
impl Sync for MenuState
impl Unpin for MenuState
impl UnsafeUnpin for MenuState
impl UnwindSafe for MenuState
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