#[non_exhaustive]pub struct ContextFillResult {
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: StyleResult<MaterialFill>,
}Expand description
What a material states in one representation context
(StyleIndex::material_fills_by_context): the context, and its fill or
the refusal that belongs to this context alone.
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 lowest IfcStyledRepresentation of the material in this context
that states a fill or was refused.
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: StyleResult<MaterialFill>The context’s fill, or why this context was refused.
Trait Implementations§
Source§impl Clone for ContextFillResult
impl Clone for ContextFillResult
Source§fn clone(&self) -> ContextFillResult
fn clone(&self) -> ContextFillResult
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 ContextFillResult
impl Debug for ContextFillResult
Source§impl PartialEq for ContextFillResult
impl PartialEq for ContextFillResult
impl StructuralPartialEq for ContextFillResult
Auto Trait Implementations§
impl Freeze for ContextFillResult
impl RefUnwindSafe for ContextFillResult
impl Send for ContextFillResult
impl Sync for ContextFillResult
impl Unpin for ContextFillResult
impl UnsafeUnpin for ContextFillResult
impl UnwindSafe for ContextFillResult
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