pub struct MaterialLayerSet<'m> { /* private fields */ }Expand description
Borrowed projection of IFCMATERIALLAYERSET.
Implementations§
Source§impl<'m> MaterialLayerSet<'m>
impl<'m> MaterialLayerSet<'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> MaterialLayerSet<'m>
impl<'m> MaterialLayerSet<'m>
Sourcepub fn layer_ids(self) -> MaterialResult<Vec<EntityId>>
pub fn layer_ids(self) -> MaterialResult<Vec<EntityId>>
IfcMaterialLayerSet.MaterialLayers, in set order. Required and
must be non-empty.
Sourcepub fn name(self) -> MaterialResult<Option<&'m str>>
pub fn name(self) -> MaterialResult<Option<&'m str>>
IfcMaterialLayerSet.LayerSetName, if given.
Sourcepub fn description(self) -> MaterialResult<Option<&'m str>>
pub fn description(self) -> MaterialResult<Option<&'m str>>
IfcMaterialLayerSet.Description, if given.
Trait Implementations§
Source§impl<'m> Clone for MaterialLayerSet<'m>
impl<'m> Clone for MaterialLayerSet<'m>
impl<'m> Copy for MaterialLayerSet<'m>
Auto Trait Implementations§
impl<'m> Freeze for MaterialLayerSet<'m>
impl<'m> RefUnwindSafe for MaterialLayerSet<'m>
impl<'m> Send for MaterialLayerSet<'m>
impl<'m> Sync for MaterialLayerSet<'m>
impl<'m> Unpin for MaterialLayerSet<'m>
impl<'m> UnsafeUnpin for MaterialLayerSet<'m>
impl<'m> UnwindSafe for MaterialLayerSet<'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