pub enum ActionBinding {
Named(String),
Callback(ContextAction),
State(StateAction),
}Expand description
One executable action in its exact declaration position. The mature
engines allow named function references and direct callbacks to be mixed;
retaining this sequence avoids losing prepend/append order while keeping
the serialized a/bo/ao/bc/ac lists available for inspection.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ActionBinding
impl !UnwindSafe for ActionBinding
impl Freeze for ActionBinding
impl Send for ActionBinding
impl Sync for ActionBinding
impl Unpin for ActionBinding
impl UnsafeUnpin for ActionBinding
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