pub struct TextLiteral<'m, 's> { /* private fields */ }Expand description
A schema-aware view of IfcTextLiteral (including its subtype).
Implementations§
Source§impl<'m, 's> TextLiteral<'m, 's>
impl<'m, 's> TextLiteral<'m, 's>
Sourcepub fn literal(&self) -> StyleResult<&'m str>
pub fn literal(&self) -> StyleResult<&'m str>
The Literal attribute: the text content itself.
Sourcepub fn placement(&self) -> StyleResult<EntityId>
pub fn placement(&self) -> StyleResult<EntityId>
The Placement reference to the IfcPlacement positioning the text.
Sourcepub fn path(&self) -> StyleResult<TextPath>
pub fn path(&self) -> StyleResult<TextPath>
The Path attribute: reading direction of the text.
Trait Implementations§
Source§impl<'m, 's> Clone for TextLiteral<'m, 's>
impl<'m, 's> Clone for TextLiteral<'m, 's>
Source§fn clone(&self) -> TextLiteral<'m, 's>
fn clone(&self) -> TextLiteral<'m, 's>
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<'m, 's> Copy for TextLiteral<'m, 's>
Auto Trait Implementations§
impl<'m, 's> !RefUnwindSafe for TextLiteral<'m, 's>
impl<'m, 's> !UnwindSafe for TextLiteral<'m, 's>
impl<'m, 's> Freeze for TextLiteral<'m, 's>
impl<'m, 's> Send for TextLiteral<'m, 's>
impl<'m, 's> Sync for TextLiteral<'m, 's>
impl<'m, 's> Unpin for TextLiteral<'m, 's>
impl<'m, 's> UnsafeUnpin for TextLiteral<'m, 's>
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