pub struct ClassificationNotation<'m> { /* private fields */ }Expand description
Borrowed projection of an IFCCLASSIFICATIONNOTATION entity.
Projections handed out by a crate::ClassificationView read against
the release the model declares (IFC2X3, IFC4 or IFC4X3); one built with
try_new has no model and reads against IFC4, as in 0.2.0.
Implementations§
Source§impl<'m> ClassificationNotation<'m>
impl<'m> ClassificationNotation<'m>
Sourcepub fn try_new(id: EntityId, entity: &'m Entity) -> ClassificationResult<Self>
pub fn try_new(id: EntityId, entity: &'m Entity) -> ClassificationResult<Self>
Project entity as IFCCLASSIFICATIONNOTATION, checking its runtime type; fails with WrongEntityType if it is not.
Without a model there is no header to bind, so the projection reads against IFC4. Use the view’s lookups to read another release.
Source§impl ClassificationNotation<'_>
impl ClassificationNotation<'_>
Sourcepub fn facet_ids(self) -> ClassificationResult<Vec<EntityId>>
pub fn facet_ids(self) -> ClassificationResult<Vec<EntityId>>
Ids of the NotationFacets, in file order; non-empty per schema.
Trait Implementations§
Source§impl<'m> Clone for ClassificationNotation<'m>
impl<'m> Clone for ClassificationNotation<'m>
impl<'m> Copy for ClassificationNotation<'m>
Auto Trait Implementations§
impl<'m> Freeze for ClassificationNotation<'m>
impl<'m> RefUnwindSafe for ClassificationNotation<'m>
impl<'m> Send for ClassificationNotation<'m>
impl<'m> Sync for ClassificationNotation<'m>
impl<'m> Unpin for ClassificationNotation<'m>
impl<'m> UnsafeUnpin for ClassificationNotation<'m>
impl<'m> UnwindSafe for ClassificationNotation<'m>
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