pub enum HatKind {
Show 15 variants
OnFlag,
OnClone,
OnKey {
key: CompactString,
},
MouseDown,
MouseUp,
MouseEnter,
MouseLeave,
ScrollUp,
ScrollDown,
Dropped,
Stopped,
When {
condition: Box<Expr>,
},
LocalMessage {
msg_type: Option<CompactString>,
},
NetworkMessage {
msg_type: CompactString,
fields: Vec<VariableRef>,
},
Unknown {
name: CompactString,
fields: Vec<VariableRef>,
},
}Variants§
OnFlag
OnClone
OnKey
Fields
§
key: CompactStringMouseDown
MouseUp
MouseEnter
MouseLeave
ScrollUp
ScrollDown
Dropped
Stopped
When
LocalMessage
Fields
§
msg_type: Option<CompactString>NetworkMessage
Unknown
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HatKind
impl RefUnwindSafe for HatKind
impl !Send for HatKind
impl !Sync for HatKind
impl Unpin for HatKind
impl UnwindSafe for HatKind
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