#[non_exhaustive]pub struct TextLiteralWithExtentDraft<'a> {
pub literal: &'a str,
pub placement: EntityId,
pub path: TextPath,
pub extent: EntityId,
pub box_alignment: BoxAlignment,
}Expand description
Draft input for create_text_literal_with_extent: the writable
attributes of a new IfcTextLiteralWithExtent.
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.literal: &'a strThe Literal attribute; must be non-empty.
placement: EntityIdThe Placement reference to an IfcPlacement.
path: TextPathThe Path attribute.
extent: EntityIdThe Extent reference to an IfcPlanarExtent.
box_alignment: BoxAlignmentThe BoxAlignment attribute.
Implementations§
Source§impl<'a> TextLiteralWithExtentDraft<'a>
impl<'a> TextLiteralWithExtentDraft<'a>
Trait Implementations§
Source§impl<'a> Clone for TextLiteralWithExtentDraft<'a>
impl<'a> Clone for TextLiteralWithExtentDraft<'a>
Source§fn clone(&self) -> TextLiteralWithExtentDraft<'a>
fn clone(&self) -> TextLiteralWithExtentDraft<'a>
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 moreimpl<'a> Copy for TextLiteralWithExtentDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for TextLiteralWithExtentDraft<'a>
impl<'a> RefUnwindSafe for TextLiteralWithExtentDraft<'a>
impl<'a> Send for TextLiteralWithExtentDraft<'a>
impl<'a> Sync for TextLiteralWithExtentDraft<'a>
impl<'a> Unpin for TextLiteralWithExtentDraft<'a>
impl<'a> UnsafeUnpin for TextLiteralWithExtentDraft<'a>
impl<'a> UnwindSafe for TextLiteralWithExtentDraft<'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