pub enum StateObservedRef {
StateObserved(StateObservedId),
Complex(ComplexUnitId),
}Variants§
StateObserved(StateObservedId)
Complex(ComplexUnitId)
Implementations§
Source§impl StateObservedRef
impl StateObservedRef
pub fn resolve<'m>(&self, model: &'m StepModel) -> StateObservedRefView<'m>
pub fn entity_key(&self) -> EntityKey
Trait Implementations§
Source§impl Clone for StateObservedRef
impl Clone for StateObservedRef
Source§fn clone(&self) -> StateObservedRef
fn clone(&self) -> StateObservedRef
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 StateObservedRef
impl Debug for StateObservedRef
Source§impl PartialEq for StateObservedRef
impl PartialEq for StateObservedRef
Source§fn eq(&self, other: &StateObservedRef) -> bool
fn eq(&self, other: &StateObservedRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StateObservedRef
Auto Trait Implementations§
impl Freeze for StateObservedRef
impl RefUnwindSafe for StateObservedRef
impl Send for StateObservedRef
impl Sync for StateObservedRef
impl Unpin for StateObservedRef
impl UnsafeUnpin for StateObservedRef
impl UnwindSafe for StateObservedRef
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