pub struct MaterialList<'m> { /* private fields */ }Expand description
Borrowed projection of IFCMATERIALLIST.
Implementations§
Source§impl<'m> MaterialList<'m>
impl<'m> MaterialList<'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 MaterialList<'_>
impl MaterialList<'_>
Sourcepub fn material_ids(self) -> MaterialResult<Vec<EntityId>>
pub fn material_ids(self) -> MaterialResult<Vec<EntityId>>
IfcMaterialList.Materials, the ids of the constituent
IfcMaterial entities. Required and must be non-empty.
Trait Implementations§
Source§impl<'m> Clone for MaterialList<'m>
impl<'m> Clone for MaterialList<'m>
impl<'m> Copy for MaterialList<'m>
Auto Trait Implementations§
impl<'m> Freeze for MaterialList<'m>
impl<'m> RefUnwindSafe for MaterialList<'m>
impl<'m> Send for MaterialList<'m>
impl<'m> Sync for MaterialList<'m>
impl<'m> Unpin for MaterialList<'m>
impl<'m> UnsafeUnpin for MaterialList<'m>
impl<'m> UnwindSafe for MaterialList<'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