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