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