pub enum StyledItemRef {
Show 17 variants
AnnotationCurveOccurrence(AnnotationCurveOccurrenceId),
AnnotationFillAreaOccurrence(AnnotationFillAreaOccurrenceId),
AnnotationOccurrence(AnnotationOccurrenceId),
AnnotationPlaceholderOccurrence(AnnotationPlaceholderOccurrenceId),
AnnotationPlaceholderOccurrenceWithLeaderLine(AnnotationPlaceholderOccurrenceWithLeaderLineId),
AnnotationPlane(AnnotationPlaneId),
AnnotationSymbolOccurrence(AnnotationSymbolOccurrenceId),
AnnotationTextOccurrence(AnnotationTextOccurrenceId),
ContextDependentOverRidingStyledItem(ContextDependentOverRidingStyledItemId),
DraughtingAnnotationOccurrence(DraughtingAnnotationOccurrenceId),
LeaderCurve(LeaderCurveId),
LeaderTerminator(LeaderTerminatorId),
OverRidingStyledItem(OverRidingStyledItemId),
StyledItem(StyledItemId),
TerminatorSymbol(TerminatorSymbolId),
TessellatedAnnotationOccurrence(TessellatedAnnotationOccurrenceId),
Complex(ComplexUnitId),
}Variants§
AnnotationCurveOccurrence(AnnotationCurveOccurrenceId)
AnnotationFillAreaOccurrence(AnnotationFillAreaOccurrenceId)
AnnotationOccurrence(AnnotationOccurrenceId)
AnnotationPlaceholderOccurrence(AnnotationPlaceholderOccurrenceId)
AnnotationPlaceholderOccurrenceWithLeaderLine(AnnotationPlaceholderOccurrenceWithLeaderLineId)
AnnotationPlane(AnnotationPlaneId)
AnnotationSymbolOccurrence(AnnotationSymbolOccurrenceId)
AnnotationTextOccurrence(AnnotationTextOccurrenceId)
ContextDependentOverRidingStyledItem(ContextDependentOverRidingStyledItemId)
DraughtingAnnotationOccurrence(DraughtingAnnotationOccurrenceId)
LeaderCurve(LeaderCurveId)
LeaderTerminator(LeaderTerminatorId)
OverRidingStyledItem(OverRidingStyledItemId)
StyledItem(StyledItemId)
TerminatorSymbol(TerminatorSymbolId)
TessellatedAnnotationOccurrence(TessellatedAnnotationOccurrenceId)
Complex(ComplexUnitId)
Implementations§
Source§impl StyledItemRef
impl StyledItemRef
pub fn resolve<'m>(&self, model: &'m StepModel) -> StyledItemRefView<'m>
pub fn entity_key(&self) -> EntityKey
Trait Implementations§
Source§impl Clone for StyledItemRef
impl Clone for StyledItemRef
Source§fn clone(&self) -> StyledItemRef
fn clone(&self) -> StyledItemRef
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 StyledItemRef
impl Debug for StyledItemRef
Source§impl PartialEq for StyledItemRef
impl PartialEq for StyledItemRef
Source§fn eq(&self, other: &StyledItemRef) -> bool
fn eq(&self, other: &StyledItemRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StyledItemRef
Auto Trait Implementations§
impl Freeze for StyledItemRef
impl RefUnwindSafe for StyledItemRef
impl Send for StyledItemRef
impl Sync for StyledItemRef
impl Unpin for StyledItemRef
impl UnsafeUnpin for StyledItemRef
impl UnwindSafe for StyledItemRef
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