pub struct ActionModel { /* private fields */ }Expand description
The action types a chain may contain. Implements Initializer<Action>: a uniform kind
with uniform parameters.
Implementations§
Source§impl ActionModel
impl ActionModel
Sourcepub fn new(kinds: Vec<ActionKind>) -> Self
pub fn new(kinds: Vec<ActionKind>) -> Self
Sourcepub fn kinds(&self) -> &[ActionKind]
pub fn kinds(&self) -> &[ActionKind]
The action types.
Trait Implementations§
Source§impl Clone for ActionModel
impl Clone for ActionModel
Source§impl Debug for ActionModel
impl Debug for ActionModel
Source§impl Initializer<Action> for ActionModel
impl Initializer<Action> for ActionModel
Source§impl PartialEq for ActionModel
impl PartialEq for ActionModel
impl StructuralPartialEq for ActionModel
Auto Trait Implementations§
impl Forget for ActionModel
impl Freeze for ActionModel
impl Move for ActionModel
impl RefUnwindSafe for ActionModel
impl Send for ActionModel
impl Sync for ActionModel
impl Unpin for ActionModel
impl UnsafeUnpin for ActionModel
impl UnwindSafe for ActionModel
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