pub struct LinkedTransitionDescriptor {
pub method_name: &'static str,
pub label: Option<&'static str>,
pub description: Option<&'static str>,
pub docs: Option<&'static str>,
pub from: &'static str,
pub to: &'static [&'static str],
}Expand description
Erased transition descriptor carried by the linked machine inventory.
Fields§
§method_name: &'static strRust method name for the transition site.
label: Option<&'static str>Optional human-facing transition label.
description: Option<&'static str>Optional human-facing transition description.
docs: Option<&'static str>Optional longer-form source documentation from outer rustdoc comments.
from: &'static strExact source state for the transition site.
to: &'static [&'static str]Exact legal target states for the transition site.
Trait Implementations§
Source§impl Clone for LinkedTransitionDescriptor
impl Clone for LinkedTransitionDescriptor
Source§fn clone(&self) -> LinkedTransitionDescriptor
fn clone(&self) -> LinkedTransitionDescriptor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LinkedTransitionDescriptor
impl Debug for LinkedTransitionDescriptor
impl Copy for LinkedTransitionDescriptor
impl Eq for LinkedTransitionDescriptor
impl StructuralPartialEq for LinkedTransitionDescriptor
Auto Trait Implementations§
impl Freeze for LinkedTransitionDescriptor
impl RefUnwindSafe for LinkedTransitionDescriptor
impl Send for LinkedTransitionDescriptor
impl Sync for LinkedTransitionDescriptor
impl Unpin for LinkedTransitionDescriptor
impl UnsafeUnpin for LinkedTransitionDescriptor
impl UnwindSafe for LinkedTransitionDescriptor
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