pub struct StyledItemDraft<'a> {
pub item: Option<EntityId>,
pub styles: Vec<EntityId>,
pub name: Option<&'a str>,
}Expand description
Draft input for create_styled_item: the writable attributes of a new
IfcStyledItem.
Fields§
§item: Option<EntityId>The Item reference to an IfcRepresentationItem, when supplied.
styles: Vec<EntityId>The Styles references; at least one is required. On IFC2x3 these
are wrapped in a staged IfcPresentationStyleAssignment.
name: Option<&'a str>The Name attribute, when supplied.
Trait Implementations§
Source§impl<'a> Clone for StyledItemDraft<'a>
impl<'a> Clone for StyledItemDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for StyledItemDraft<'a>
impl<'a> RefUnwindSafe for StyledItemDraft<'a>
impl<'a> Send for StyledItemDraft<'a>
impl<'a> Sync for StyledItemDraft<'a>
impl<'a> Unpin for StyledItemDraft<'a>
impl<'a> UnsafeUnpin for StyledItemDraft<'a>
impl<'a> UnwindSafe for StyledItemDraft<'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