pub struct TextStyle<'m, 's> { /* private fields */ }Expand description
Borrowed projection of IfcTextStyle.
Implementations§
Source§impl<'m, 's> TextStyle<'m, 's>
impl<'m, 's> TextStyle<'m, 's>
Sourcepub fn name(&self) -> StyleResult<Option<&'m str>>
pub fn name(&self) -> StyleResult<Option<&'m str>>
The Name attribute, when authored.
Sourcepub fn text_character_appearance(&self) -> StyleResult<Option<EntityId>>
pub fn text_character_appearance(&self) -> StyleResult<Option<EntityId>>
The TextCharacterAppearance attribute, when authored.
Sourcepub fn text_style(&self) -> StyleResult<Option<EntityId>>
pub fn text_style(&self) -> StyleResult<Option<EntityId>>
The TextStyle attribute (IfcTextStyleSelect: model or box-characteristics text
style), when authored.
Sourcepub fn text_font_style(&self) -> StyleResult<EntityId>
pub fn text_font_style(&self) -> StyleResult<EntityId>
The TextFontStyle attribute (IfcTextFontSelect: externally defined
or predefined text font). Mandatory.
Sourcepub fn model_or_draughting(&self) -> StyleResult<Option<bool>>
pub fn model_or_draughting(&self) -> StyleResult<Option<bool>>
The ModelOrDraughting flag: true for model-space geometry,
false for a draughting/annotation text style, None if unauthored.
Trait Implementations§
Auto Trait Implementations§
impl<'m, 's> Freeze for TextStyle<'m, 's>
impl<'m, 's> RefUnwindSafe for TextStyle<'m, 's>
impl<'m, 's> Send for TextStyle<'m, 's>
impl<'m, 's> Sync for TextStyle<'m, 's>
impl<'m, 's> Unpin for TextStyle<'m, 's>
impl<'m, 's> UnsafeUnpin for TextStyle<'m, 's>
impl<'m, 's> UnwindSafe for TextStyle<'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