pub struct MaterialProfileSet<'m> { /* private fields */ }Expand description
Borrowed projection of IFCMATERIALPROFILESET.
Implementations§
Source§impl<'m> MaterialProfileSet<'m>
impl<'m> MaterialProfileSet<'m>
Sourcepub fn try_new(id: EntityId, entity: &'m Entity) -> MaterialResult<Self>
pub fn try_new(id: EntityId, entity: &'m Entity) -> MaterialResult<Self>
Wraps entity as this view after checking it is an instance
of the expected IFC entity type; fails with
crate::MaterialError::WrongEntityType otherwise.
Source§impl<'m> MaterialProfileSet<'m>
impl<'m> MaterialProfileSet<'m>
Sourcepub fn name(self) -> MaterialResult<Option<&'m str>>
pub fn name(self) -> MaterialResult<Option<&'m str>>
IfcMaterialProfileSet.Name, if given.
Sourcepub fn description(self) -> MaterialResult<Option<&'m str>>
pub fn description(self) -> MaterialResult<Option<&'m str>>
IfcMaterialProfileSet.Description, if given.
Sourcepub fn profile_ids(self) -> MaterialResult<Vec<EntityId>>
pub fn profile_ids(self) -> MaterialResult<Vec<EntityId>>
IfcMaterialProfileSet.MaterialProfiles, in set order. Required
and must be non-empty.
Sourcepub fn composite_profile_id(self) -> MaterialResult<Option<EntityId>>
pub fn composite_profile_id(self) -> MaterialResult<Option<EntityId>>
IfcMaterialProfileSet.CompositeProfile, if given.
Trait Implementations§
Source§impl<'m> Clone for MaterialProfileSet<'m>
impl<'m> Clone for MaterialProfileSet<'m>
impl<'m> Copy for MaterialProfileSet<'m>
Auto Trait Implementations§
impl<'m> Freeze for MaterialProfileSet<'m>
impl<'m> RefUnwindSafe for MaterialProfileSet<'m>
impl<'m> Send for MaterialProfileSet<'m>
impl<'m> Sync for MaterialProfileSet<'m>
impl<'m> Unpin for MaterialProfileSet<'m>
impl<'m> UnsafeUnpin for MaterialProfileSet<'m>
impl<'m> UnwindSafe for MaterialProfileSet<'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