pub enum RepresentationContextRef {
GeometricRepresentationContext(GeometricRepresentationContextId),
GlobalUncertaintyAssignedContext(GlobalUncertaintyAssignedContextId),
GlobalUnitAssignedContext(GlobalUnitAssignedContextId),
ParametricRepresentationContext(ParametricRepresentationContextId),
RepresentationContext(RepresentationContextId),
Complex(ComplexUnitId),
}Variants§
GeometricRepresentationContext(GeometricRepresentationContextId)
GlobalUncertaintyAssignedContext(GlobalUncertaintyAssignedContextId)
GlobalUnitAssignedContext(GlobalUnitAssignedContextId)
ParametricRepresentationContext(ParametricRepresentationContextId)
RepresentationContext(RepresentationContextId)
Complex(ComplexUnitId)
Implementations§
Source§impl RepresentationContextRef
impl RepresentationContextRef
pub fn resolve<'m>( &self, model: &'m StepModel, ) -> RepresentationContextRefView<'m>
pub fn entity_key(&self) -> EntityKey
Trait Implementations§
Source§impl Clone for RepresentationContextRef
impl Clone for RepresentationContextRef
Source§fn clone(&self) -> RepresentationContextRef
fn clone(&self) -> RepresentationContextRef
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 RepresentationContextRef
impl Debug for RepresentationContextRef
Source§impl PartialEq for RepresentationContextRef
impl PartialEq for RepresentationContextRef
Source§fn eq(&self, other: &RepresentationContextRef) -> bool
fn eq(&self, other: &RepresentationContextRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RepresentationContextRef
Auto Trait Implementations§
impl Freeze for RepresentationContextRef
impl RefUnwindSafe for RepresentationContextRef
impl Send for RepresentationContextRef
impl Sync for RepresentationContextRef
impl Unpin for RepresentationContextRef
impl UnsafeUnpin for RepresentationContextRef
impl UnwindSafe for RepresentationContextRef
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