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