#[non_exhaustive]pub struct LayerDraft<'a> {
pub material: Option<EntityId>,
pub thickness: f64,
pub is_ventilated: Option<LogicalValue>,
pub name: Option<&'a str>,
pub description: Option<&'a str>,
pub category: Option<&'a str>,
pub priority: Option<i64>,
}Expand description
Authored fields for IfcMaterialLayer.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.material: Option<EntityId>IfcMaterialLayer.Material, an IfcMaterial reference, if given.
thickness: f64IfcMaterialLayer.LayerThickness. Must be finite and non-negative;
strictly positive for IFC2X3.
is_ventilated: Option<LogicalValue>IfcMaterialLayer.IsVentilated, if given.
name: Option<&'a str>IfcMaterialLayer.Name, if given. IFC4 onwards.
description: Option<&'a str>IfcMaterialLayer.Description, if given. IFC4 onwards.
category: Option<&'a str>IfcMaterialLayer.Category, if given. IFC4 onwards.
priority: Option<i64>IfcMaterialLayer.Priority, if given. Must be in 0..=100. IFC4
onwards.
Implementations§
Source§impl<'a> LayerDraft<'a>
impl<'a> LayerDraft<'a>
Sourcepub const fn is_ventilated(self, value: LogicalValue) -> Self
pub const fn is_ventilated(self, value: LogicalValue) -> Self
Sets IsVentilated.
Sourcepub const fn description(self, value: &'a str) -> Self
pub const fn description(self, value: &'a str) -> Self
Sets Description.
Trait Implementations§
Source§impl<'a> Clone for LayerDraft<'a>
impl<'a> Clone for LayerDraft<'a>
impl<'a> Copy for LayerDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for LayerDraft<'a>
impl<'a> RefUnwindSafe for LayerDraft<'a>
impl<'a> Send for LayerDraft<'a>
impl<'a> Sync for LayerDraft<'a>
impl<'a> Unpin for LayerDraft<'a>
impl<'a> UnsafeUnpin for LayerDraft<'a>
impl<'a> UnwindSafe for LayerDraft<'a>
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