pub struct PresentationLayerDraft<'a> {
pub name: &'a str,
pub description: Option<&'a str>,
pub assigned_items: Vec<EntityId>,
pub identifier: Option<&'a str>,
pub layer_on: Option<bool>,
pub layer_frozen: Option<bool>,
pub layer_blocked: Option<bool>,
pub layer_styles: Vec<EntityId>,
}Expand description
Draft input for create_presentation_layer_with_style: the writable
attributes of a new IfcPresentationLayerWithStyle.
Fields§
§name: &'a strThe Name attribute; must be non-empty.
description: Option<&'a str>The Description attribute, when supplied.
assigned_items: Vec<EntityId>The AssignedItems references; at least one is required, and each
must resolve to an IfcRepresentation or IfcRepresentationItem.
identifier: Option<&'a str>The Identifier attribute, when supplied.
layer_on: Option<bool>The LayerOn attribute, when supplied.
layer_frozen: Option<bool>The LayerFrozen attribute, when supplied.
layer_blocked: Option<bool>The LayerBlocked attribute, when supplied.
layer_styles: Vec<EntityId>The LayerStyles references.
Trait Implementations§
Source§impl<'a> Clone for PresentationLayerDraft<'a>
impl<'a> Clone for PresentationLayerDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for PresentationLayerDraft<'a>
impl<'a> RefUnwindSafe for PresentationLayerDraft<'a>
impl<'a> Send for PresentationLayerDraft<'a>
impl<'a> Sync for PresentationLayerDraft<'a>
impl<'a> Unpin for PresentationLayerDraft<'a>
impl<'a> UnsafeUnpin for PresentationLayerDraft<'a>
impl<'a> UnwindSafe for PresentationLayerDraft<'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