pub enum LinkedRelationSource {
StatePayload {
state: &'static str,
field_name: Option<&'static str>,
},
MachineField {
field_name: Option<&'static str>,
field_index: usize,
},
TransitionParam {
state: &'static str,
transition: &'static str,
param_index: usize,
param_name: Option<&'static str>,
},
}Expand description
One exact relation source exported by the linked build.
Variants§
StatePayload
A state payload type produced the relation.
Fields
MachineField
A machine struct field produced the relation.
Fields
TransitionParam
One transition parameter produced the relation.
Trait Implementations§
Source§impl Clone for LinkedRelationSource
impl Clone for LinkedRelationSource
Source§fn clone(&self) -> LinkedRelationSource
fn clone(&self) -> LinkedRelationSource
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 LinkedRelationSource
impl Debug for LinkedRelationSource
Source§impl PartialEq for LinkedRelationSource
impl PartialEq for LinkedRelationSource
impl Copy for LinkedRelationSource
impl Eq for LinkedRelationSource
impl StructuralPartialEq for LinkedRelationSource
Auto Trait Implementations§
impl Freeze for LinkedRelationSource
impl RefUnwindSafe for LinkedRelationSource
impl Send for LinkedRelationSource
impl Sync for LinkedRelationSource
impl Unpin for LinkedRelationSource
impl UnsafeUnpin for LinkedRelationSource
impl UnwindSafe for LinkedRelationSource
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