pub struct Annotation<'m, 's> { /* private fields */ }Expand description
A schema-aware view of IfcAnnotation.
Implementations§
Source§impl<'m, 's> Annotation<'m, 's>
impl<'m, 's> Annotation<'m, 's>
Sourcepub fn global_id(&self) -> StyleResult<&'m str>
pub fn global_id(&self) -> StyleResult<&'m str>
The GlobalId (IFC GUID) attribute. Mandatory.
Sourcepub fn name(&self) -> StyleResult<Option<&'m str>>
pub fn name(&self) -> StyleResult<Option<&'m str>>
The Name attribute, when authored.
Sourcepub fn description(&self) -> StyleResult<Option<&'m str>>
pub fn description(&self) -> StyleResult<Option<&'m str>>
The Description attribute, when authored.
Sourcepub fn object_type(&self) -> StyleResult<Option<&'m str>>
pub fn object_type(&self) -> StyleResult<Option<&'m str>>
The ObjectType attribute, when authored.
Sourcepub fn owner_history(&self) -> StyleResult<Option<EntityId>>
pub fn owner_history(&self) -> StyleResult<Option<EntityId>>
The OwnerHistory reference to an IfcOwnerHistory, when authored.
Sourcepub fn object_placement(&self) -> StyleResult<Option<EntityId>>
pub fn object_placement(&self) -> StyleResult<Option<EntityId>>
The ObjectPlacement reference to an IfcObjectPlacement, when authored.
Sourcepub fn representation(&self) -> StyleResult<Option<EntityId>>
pub fn representation(&self) -> StyleResult<Option<EntityId>>
The Representation reference to an IfcProductRepresentation, when authored.
Sourcepub fn predefined_type(&self) -> StyleResult<Option<AnnotationType>>
pub fn predefined_type(&self) -> StyleResult<Option<AnnotationType>>
IFC4X3’s annotation predefined type; older schemas return None.
Trait Implementations§
Source§impl<'m, 's> Clone for Annotation<'m, 's>
impl<'m, 's> Clone for Annotation<'m, 's>
impl<'m, 's> Copy for Annotation<'m, 's>
Auto Trait Implementations§
impl<'m, 's> Freeze for Annotation<'m, 's>
impl<'m, 's> RefUnwindSafe for Annotation<'m, 's>
impl<'m, 's> Send for Annotation<'m, 's>
impl<'m, 's> Sync for Annotation<'m, 's>
impl<'m, 's> Unpin for Annotation<'m, 's>
impl<'m, 's> UnsafeUnpin for Annotation<'m, 's>
impl<'m, 's> UnwindSafe for Annotation<'m, 's>
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