pub struct ActionDecl {
pub name: String,
pub kind: ActionKind,
pub bindings: Vec<Binding>,
}Expand description
A declared action: name + kind + bindings.
Fields§
§name: StringHuman-readable name, used as the lookup key in ActionMap.
kind: ActionKindWhat kind of value this action produces.
bindings: Vec<Binding>The raw inputs that drive this action.
Trait Implementations§
Source§impl Clone for ActionDecl
impl Clone for ActionDecl
Auto Trait Implementations§
impl Freeze for ActionDecl
impl RefUnwindSafe for ActionDecl
impl Send for ActionDecl
impl Sync for ActionDecl
impl Unpin for ActionDecl
impl UnsafeUnpin for ActionDecl
impl UnwindSafe for ActionDecl
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