pub struct TextLiteralWithExtent<'m, 's> { /* private fields */ }Expand description
A schema-aware view of IfcTextLiteralWithExtent.
Implementations§
Source§impl<'m, 's> TextLiteralWithExtent<'m, 's>
impl<'m, 's> TextLiteralWithExtent<'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.
Sourcepub fn extent(&self) -> StyleResult<EntityId>
pub fn extent(&self) -> StyleResult<EntityId>
The Extent reference to the IfcPlanarExtent bounding the text.
Sourcepub fn box_alignment(&self) -> StyleResult<BoxAlignment>
pub fn box_alignment(&self) -> StyleResult<BoxAlignment>
The BoxAlignment attribute: how the text is anchored within its extent.
Trait Implementations§
Source§impl<'m, 's> Clone for TextLiteralWithExtent<'m, 's>
impl<'m, 's> Clone for TextLiteralWithExtent<'m, 's>
impl<'m, 's> Copy for TextLiteralWithExtent<'m, 's>
Auto Trait Implementations§
impl<'m, 's> Freeze for TextLiteralWithExtent<'m, 's>
impl<'m, 's> RefUnwindSafe for TextLiteralWithExtent<'m, 's>
impl<'m, 's> Send for TextLiteralWithExtent<'m, 's>
impl<'m, 's> Sync for TextLiteralWithExtent<'m, 's>
impl<'m, 's> Unpin for TextLiteralWithExtent<'m, 's>
impl<'m, 's> UnsafeUnpin for TextLiteralWithExtent<'m, 's>
impl<'m, 's> UnwindSafe for TextLiteralWithExtent<'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