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