pub enum StateTypeRef {
StateType(StateTypeId),
Complex(ComplexUnitId),
}Variants§
StateType(StateTypeId)
Complex(ComplexUnitId)
Implementations§
Source§impl StateTypeRef
impl StateTypeRef
pub fn resolve<'m>(&self, model: &'m StepModel) -> StateTypeRefView<'m>
pub fn entity_key(&self) -> EntityKey
Trait Implementations§
Source§impl Clone for StateTypeRef
impl Clone for StateTypeRef
Source§fn clone(&self) -> StateTypeRef
fn clone(&self) -> StateTypeRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StateTypeRef
impl Debug for StateTypeRef
Source§impl PartialEq for StateTypeRef
impl PartialEq for StateTypeRef
Source§fn eq(&self, other: &StateTypeRef) -> bool
fn eq(&self, other: &StateTypeRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StateTypeRef
Auto Trait Implementations§
impl Freeze for StateTypeRef
impl RefUnwindSafe for StateTypeRef
impl Send for StateTypeRef
impl Sync for StateTypeRef
impl Unpin for StateTypeRef
impl UnsafeUnpin for StateTypeRef
impl UnwindSafe for StateTypeRef
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