#[non_exhaustive]pub struct MaterialFill {
pub style: EntityId,
pub styled_item: Option<EntityId>,
pub name: Option<String>,
pub model_or_draughting: Option<bool>,
pub background: Option<[f64; 3]>,
pub lines: Vec<HatchLine>,
}Expand description
A material’s cut fill: one IfcFillAreaStyle resolved into hatch lines
in metres and radians (StyleIndex::material_fill).
When model_or_draughting is Some(false) the lengths are draughting
(paper-space) measures, per IfcFillAreaStyle.ModelorDraughting; they
are still scaled by the project length unit.
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.style: EntityIdThe IfcFillAreaStyle.
styled_item: Option<EntityId>The item-less IfcStyledItem it was read from; None for a bare
style resolved by StyleIndex::fill_area_style.
name: Option<String>The style’s Name, when authored.
model_or_draughting: Option<bool>ModelOrDraughting; None when unauthored or in IFC2X3.
background: Option<[f64; 3]>The background colour; alone it is a solid fill (lines empty).
lines: Vec<HatchLine>One family per hatching, in FillStyles order as stored.
Trait Implementations§
Source§impl Clone for MaterialFill
impl Clone for MaterialFill
Source§fn clone(&self) -> MaterialFill
fn clone(&self) -> MaterialFill
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MaterialFill
impl Debug for MaterialFill
Source§impl PartialEq for MaterialFill
impl PartialEq for MaterialFill
impl StructuralPartialEq for MaterialFill
Auto Trait Implementations§
impl Freeze for MaterialFill
impl RefUnwindSafe for MaterialFill
impl Send for MaterialFill
impl Sync for MaterialFill
impl Unpin for MaterialFill
impl UnsafeUnpin for MaterialFill
impl UnwindSafe for MaterialFill
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