Enum netsblox_ast::Hat
source · [−]pub enum Hat {
Show 13 variants
OnFlag {
comment: Option<String>,
},
OnKey {
key: String,
comment: Option<String>,
},
MouseDown {
comment: Option<String>,
},
MouseUp {
comment: Option<String>,
},
MouseEnter {
comment: Option<String>,
},
MouseLeave {
comment: Option<String>,
},
ScrollUp {
comment: Option<String>,
},
ScrollDown {
comment: Option<String>,
},
Dropped {
comment: Option<String>,
},
Stopped {
comment: Option<String>,
},
When {
condition: Expr,
comment: Option<String>,
},
LocalMessage {
msg_type: String,
comment: Option<String>,
},
NetworkMessage {
msg_type: String,
fields: Vec<VariableRef>,
comment: Option<String>,
},
}Variants
OnFlag
OnKey
MouseDown
MouseUp
MouseEnter
MouseLeave
ScrollUp
ScrollDown
Dropped
Stopped
When
LocalMessage
NetworkMessage
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Hat
impl Send for Hat
impl Sync for Hat
impl Unpin for Hat
impl UnwindSafe for Hat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more