pub enum StyleSource {
None,
DirectStyledItem(EntityId),
PresentationLayer(EntityId),
}Expand description
Which mechanism, if any, supplied a resolved item’s effective styles.
Variants§
None
Neither a direct IfcStyledItem nor a presentation layer contributed
any style to this item.
DirectStyledItem(EntityId)
The styles came from the unique direct IfcStyledItem bound to this
item; carries that IfcStyledItem’s entity id.
PresentationLayer(EntityId)
The styles came from an IfcPresentationLayerAssignment covering
this item, in the absence of any direct assignment; carries that
layer assignment’s entity id.
Trait Implementations§
Source§impl Clone for StyleSource
impl Clone for StyleSource
impl Copy for StyleSource
Source§impl Debug for StyleSource
impl Debug for StyleSource
impl Eq for StyleSource
Source§impl PartialEq for StyleSource
impl PartialEq for StyleSource
impl StructuralPartialEq for StyleSource
Auto Trait Implementations§
impl Freeze for StyleSource
impl RefUnwindSafe for StyleSource
impl Send for StyleSource
impl Sync for StyleSource
impl Unpin for StyleSource
impl UnsafeUnpin for StyleSource
impl UnwindSafe for StyleSource
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