#[non_exhaustive]pub struct ContextFill {
pub representation: EntityId,
pub context: EntityId,
pub identifier: Option<String>,
pub context_type: Option<String>,
pub target_view: Option<String>,
pub user_defined_target_view: Option<String>,
pub parent_context: Option<EntityId>,
pub fill: MaterialFill,
}Expand description
A fill a material states in one representation context
(StyleIndex::material_fills).
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.representation: EntityIdThe IfcStyledRepresentation the fill was read from (the lowest one
of the context when several agree).
context: EntityIdIts ContextOfItems.
identifier: Option<String>The context’s ContextIdentifier, when authored.
context_type: Option<String>The context’s ContextType, when authored.
target_view: Option<String>TargetView of an IfcGeometricRepresentationSubContext without the
dots ("SECTION_VIEW"); None for any other context.
user_defined_target_view: Option<String>UserDefinedTargetView of a sub-context, when authored.
parent_context: Option<EntityId>ParentContext of a sub-context; None for any other context.
fill: MaterialFillThe fill.
Trait Implementations§
Source§impl Clone for ContextFill
impl Clone for ContextFill
Source§fn clone(&self) -> ContextFill
fn clone(&self) -> ContextFill
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 ContextFill
impl Debug for ContextFill
Source§impl PartialEq for ContextFill
impl PartialEq for ContextFill
impl StructuralPartialEq for ContextFill
Auto Trait Implementations§
impl Freeze for ContextFill
impl RefUnwindSafe for ContextFill
impl Send for ContextFill
impl Sync for ContextFill
impl Unpin for ContextFill
impl UnsafeUnpin for ContextFill
impl UnwindSafe for ContextFill
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