#[non_exhaustive]pub enum MachineState {
Entry,
Exit,
Animation {
name: String,
animation: String,
},
Single {
name: String,
properties: HashMap<String, Value>,
},
}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.
Implementations§
Trait Implementations§
Source§impl Clone for MachineState
impl Clone for MachineState
Source§impl Debug for MachineState
impl Debug for MachineState
Source§impl PartialEq for MachineState
impl PartialEq for MachineState
impl StructuralPartialEq for MachineState
Auto Trait Implementations§
impl Freeze for MachineState
impl RefUnwindSafe for MachineState
impl Send for MachineState
impl Sync for MachineState
impl Unpin for MachineState
impl UnsafeUnpin for MachineState
impl UnwindSafe for MachineState
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