pub struct LinkedStateDescriptor {
pub rust_name: &'static str,
pub label: Option<&'static str>,
pub description: Option<&'static str>,
pub docs: Option<&'static str>,
pub has_data: bool,
pub direct_construction_available: bool,
}Expand description
Erased state descriptor carried by the linked machine inventory.
Fields§
§rust_name: &'static strRust variant name of the state marker.
label: Option<&'static str>Optional human-facing state label.
description: Option<&'static str>Optional human-facing state description.
docs: Option<&'static str>Optional longer-form source documentation from outer rustdoc comments.
has_data: boolWhether the state carries state_data.
direct_construction_available: boolWhether the machine exposes direct construction for this state.
Trait Implementations§
Source§impl Clone for LinkedStateDescriptor
impl Clone for LinkedStateDescriptor
Source§fn clone(&self) -> LinkedStateDescriptor
fn clone(&self) -> LinkedStateDescriptor
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 LinkedStateDescriptor
impl Debug for LinkedStateDescriptor
Source§impl PartialEq for LinkedStateDescriptor
impl PartialEq for LinkedStateDescriptor
impl Copy for LinkedStateDescriptor
impl Eq for LinkedStateDescriptor
impl StructuralPartialEq for LinkedStateDescriptor
Auto Trait Implementations§
impl Freeze for LinkedStateDescriptor
impl RefUnwindSafe for LinkedStateDescriptor
impl Send for LinkedStateDescriptor
impl Sync for LinkedStateDescriptor
impl Unpin for LinkedStateDescriptor
impl UnsafeUnpin for LinkedStateDescriptor
impl UnwindSafe for LinkedStateDescriptor
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