pub enum MaterialDefinition<'m> {
Material(Material<'m>),
Constituent(MaterialConstituent<'m>),
ConstituentSet(MaterialConstituentSet<'m>),
Layer(MaterialLayer<'m>),
LayerWithOffsets(MaterialLayerWithOffsets<'m>),
LayerSet(MaterialLayerSet<'m>),
Profile(MaterialProfile<'m>),
ProfileWithOffsets(MaterialProfileWithOffsets<'m>),
ProfileSet(MaterialProfileSet<'m>),
}Expand description
A resolved branch of the abstract IfcMaterialDefinition select.
IFC2X3 has no IfcMaterialDefinition supertype; its IfcMaterialSelect
members IfcMaterial, IfcMaterialLayer and IfcMaterialLayerSet
resolve to the same branches here. The constituent and profile branches
only occur for IFC4 and IFC4X3 models.
Variants§
Material(Material<'m>)
Resolves to an IfcMaterial.
Constituent(MaterialConstituent<'m>)
Resolves to an IfcMaterialConstituent.
ConstituentSet(MaterialConstituentSet<'m>)
Resolves to an IfcMaterialConstituentSet.
Layer(MaterialLayer<'m>)
Resolves to an IfcMaterialLayer.
LayerWithOffsets(MaterialLayerWithOffsets<'m>)
Resolves to an IfcMaterialLayerWithOffsets.
LayerSet(MaterialLayerSet<'m>)
Resolves to an IfcMaterialLayerSet.
Profile(MaterialProfile<'m>)
Resolves to an IfcMaterialProfile.
ProfileWithOffsets(MaterialProfileWithOffsets<'m>)
Resolves to an IfcMaterialProfileWithOffsets.
ProfileSet(MaterialProfileSet<'m>)
Resolves to an IfcMaterialProfileSet.
Trait Implementations§
Source§impl<'m> Clone for MaterialDefinition<'m>
impl<'m> Clone for MaterialDefinition<'m>
impl<'m> Copy for MaterialDefinition<'m>
Auto Trait Implementations§
impl<'m> Freeze for MaterialDefinition<'m>
impl<'m> RefUnwindSafe for MaterialDefinition<'m>
impl<'m> Send for MaterialDefinition<'m>
impl<'m> Sync for MaterialDefinition<'m>
impl<'m> Unpin for MaterialDefinition<'m>
impl<'m> UnsafeUnpin for MaterialDefinition<'m>
impl<'m> UnwindSafe for MaterialDefinition<'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