#[non_exhaustive]pub struct TextLiteralDraft<'a> {
pub literal: &'a str,
pub placement: EntityId,
pub path: TextPath,
}Expand description
Draft input for create_text_literal: the writable attributes of a new
IfcTextLiteral.
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.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for TextLiteralDraft<'a>
impl<'a> Clone for TextLiteralDraft<'a>
Source§fn clone(&self) -> TextLiteralDraft<'a>
fn clone(&self) -> TextLiteralDraft<'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 TextLiteralDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for TextLiteralDraft<'a>
impl<'a> RefUnwindSafe for TextLiteralDraft<'a>
impl<'a> Send for TextLiteralDraft<'a>
impl<'a> Sync for TextLiteralDraft<'a>
impl<'a> Unpin for TextLiteralDraft<'a>
impl<'a> UnsafeUnpin for TextLiteralDraft<'a>
impl<'a> UnwindSafe for TextLiteralDraft<'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