pub struct MaterialLayerSetUsage<'m> { /* private fields */ }Expand description
Borrowed projection of IFCMATERIALLAYERSETUSAGE.
Implementations§
Source§impl<'m> MaterialLayerSetUsage<'m>
impl<'m> MaterialLayerSetUsage<'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 MaterialLayerSetUsage<'_>
impl MaterialLayerSetUsage<'_>
Sourcepub fn layer_set_id(self) -> MaterialResult<EntityId>
pub fn layer_set_id(self) -> MaterialResult<EntityId>
IfcMaterialLayerSetUsage.ForLayerSet. Required.
Sourcepub fn layer_set_direction(self) -> MaterialResult<LayerSetDirection>
pub fn layer_set_direction(self) -> MaterialResult<LayerSetDirection>
IfcMaterialLayerSetUsage.LayerSetDirection. Required.
Sourcepub fn direction_sense(self) -> MaterialResult<DirectionSense>
pub fn direction_sense(self) -> MaterialResult<DirectionSense>
IfcMaterialLayerSetUsage.DirectionSense. Required.
Sourcepub fn offset_from_reference_line(self) -> MaterialResult<f64>
pub fn offset_from_reference_line(self) -> MaterialResult<f64>
IfcMaterialLayerSetUsage.OffsetFromReferenceLine. Required.
Sourcepub fn reference_extent(self) -> MaterialResult<Option<f64>>
pub fn reference_extent(self) -> MaterialResult<Option<f64>>
IfcMaterialLayerSetUsage.ReferenceExtent, if given. Must be
strictly positive when present.
Trait Implementations§
Source§impl<'m> Clone for MaterialLayerSetUsage<'m>
impl<'m> Clone for MaterialLayerSetUsage<'m>
impl<'m> Copy for MaterialLayerSetUsage<'m>
Auto Trait Implementations§
impl<'m> Freeze for MaterialLayerSetUsage<'m>
impl<'m> RefUnwindSafe for MaterialLayerSetUsage<'m>
impl<'m> Send for MaterialLayerSetUsage<'m>
impl<'m> Sync for MaterialLayerSetUsage<'m>
impl<'m> Unpin for MaterialLayerSetUsage<'m>
impl<'m> UnsafeUnpin for MaterialLayerSetUsage<'m>
impl<'m> UnwindSafe for MaterialLayerSetUsage<'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