pub enum ShapeModelRef {
AdvancedBrepShapeRepresentation(AdvancedBrepShapeRepresentationId),
ConstructiveGeometryRepresentation(ConstructiveGeometryRepresentationId),
GeometricallyBoundedSurfaceShapeRepresentation(GeometricallyBoundedSurfaceShapeRepresentationId),
GeometricallyBoundedWireframeShapeRepresentation(GeometricallyBoundedWireframeShapeRepresentationId),
ManifoldSurfaceShapeRepresentation(ManifoldSurfaceShapeRepresentationId),
ShapeDimensionRepresentation(ShapeDimensionRepresentationId),
ShapeRepresentation(ShapeRepresentationId),
ShapeRepresentationWithParameters(ShapeRepresentationWithParametersId),
TessellatedShapeRepresentation(TessellatedShapeRepresentationId),
Complex(ComplexUnitId),
}Variants§
AdvancedBrepShapeRepresentation(AdvancedBrepShapeRepresentationId)
ConstructiveGeometryRepresentation(ConstructiveGeometryRepresentationId)
GeometricallyBoundedSurfaceShapeRepresentation(GeometricallyBoundedSurfaceShapeRepresentationId)
GeometricallyBoundedWireframeShapeRepresentation(GeometricallyBoundedWireframeShapeRepresentationId)
ManifoldSurfaceShapeRepresentation(ManifoldSurfaceShapeRepresentationId)
ShapeDimensionRepresentation(ShapeDimensionRepresentationId)
ShapeRepresentation(ShapeRepresentationId)
ShapeRepresentationWithParameters(ShapeRepresentationWithParametersId)
TessellatedShapeRepresentation(TessellatedShapeRepresentationId)
Complex(ComplexUnitId)
Implementations§
Source§impl ShapeModelRef
impl ShapeModelRef
pub fn resolve<'m>(&self, model: &'m StepModel) -> ShapeModelRefView<'m>
pub fn entity_key(&self) -> EntityKey
Trait Implementations§
Source§impl Clone for ShapeModelRef
impl Clone for ShapeModelRef
Source§fn clone(&self) -> ShapeModelRef
fn clone(&self) -> ShapeModelRef
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 ShapeModelRef
impl Debug for ShapeModelRef
Source§impl PartialEq for ShapeModelRef
impl PartialEq for ShapeModelRef
Source§fn eq(&self, other: &ShapeModelRef) -> bool
fn eq(&self, other: &ShapeModelRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShapeModelRef
Auto Trait Implementations§
impl Freeze for ShapeModelRef
impl RefUnwindSafe for ShapeModelRef
impl Send for ShapeModelRef
impl Sync for ShapeModelRef
impl Unpin for ShapeModelRef
impl UnsafeUnpin for ShapeModelRef
impl UnwindSafe for ShapeModelRef
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