#[non_exhaustive]pub struct ConstituentDraft<'a> {
pub name: Option<&'a str>,
pub description: Option<&'a str>,
pub material: EntityId,
pub fraction: Option<f64>,
pub category: Option<&'a str>,
}Expand description
Authored fields for IfcMaterialConstituent.
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.name: Option<&'a str>IfcMaterialConstituent.Name, if given.
description: Option<&'a str>IfcMaterialConstituent.Description, if given.
material: EntityIdIfcMaterialConstituent.Material, an IfcMaterial reference.
fraction: Option<f64>IfcMaterialConstituent.Fraction, if given. A ratio in 0.0..=1.0.
category: Option<&'a str>IfcMaterialConstituent.Category, if given.
Implementations§
Source§impl<'a> ConstituentDraft<'a>
impl<'a> ConstituentDraft<'a>
Trait Implementations§
Source§impl<'a> Clone for ConstituentDraft<'a>
impl<'a> Clone for ConstituentDraft<'a>
impl<'a> Copy for ConstituentDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConstituentDraft<'a>
impl<'a> RefUnwindSafe for ConstituentDraft<'a>
impl<'a> Send for ConstituentDraft<'a>
impl<'a> Sync for ConstituentDraft<'a>
impl<'a> Unpin for ConstituentDraft<'a>
impl<'a> UnsafeUnpin for ConstituentDraft<'a>
impl<'a> UnwindSafe for ConstituentDraft<'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