pub struct TextStyleFontModel<'m, 's> { /* private fields */ }Expand description
Borrowed projection of IfcTextStyleFontModel.
Implementations§
Source§impl<'m, 's> TextStyleFontModel<'m, 's>
impl<'m, 's> TextStyleFontModel<'m, 's>
Sourcepub fn name(&self) -> StyleResult<&'m str>
pub fn name(&self) -> StyleResult<&'m str>
The Name attribute. Mandatory.
Sourcepub fn font_family(&self) -> StyleResult<Option<&'m Value>>
pub fn font_family(&self) -> StyleResult<Option<&'m Value>>
The FontFamily attribute (a list of candidate family names), when authored.
Sourcepub fn font_style(&self) -> StyleResult<Option<&'m Value>>
pub fn font_style(&self) -> StyleResult<Option<&'m Value>>
The FontStyle attribute (e.g. normal/italic/oblique), when authored.
Sourcepub fn font_variant(&self) -> StyleResult<Option<&'m Value>>
pub fn font_variant(&self) -> StyleResult<Option<&'m Value>>
The FontVariant attribute (e.g. normal/small-caps), when authored.
Sourcepub fn font_weight(&self) -> StyleResult<Option<&'m Value>>
pub fn font_weight(&self) -> StyleResult<Option<&'m Value>>
The FontWeight attribute, when authored.
Sourcepub fn font_size(&self) -> StyleResult<&'m Value>
pub fn font_size(&self) -> StyleResult<&'m Value>
The FontSize attribute (an IfcSizeSelect). Mandatory.
Trait Implementations§
Source§impl<'m, 's> Clone for TextStyleFontModel<'m, 's>
impl<'m, 's> Clone for TextStyleFontModel<'m, 's>
impl<'m, 's> Copy for TextStyleFontModel<'m, 's>
Auto Trait Implementations§
impl<'m, 's> Freeze for TextStyleFontModel<'m, 's>
impl<'m, 's> RefUnwindSafe for TextStyleFontModel<'m, 's>
impl<'m, 's> Send for TextStyleFontModel<'m, 's>
impl<'m, 's> Sync for TextStyleFontModel<'m, 's>
impl<'m, 's> Unpin for TextStyleFontModel<'m, 's>
impl<'m, 's> UnsafeUnpin for TextStyleFontModel<'m, 's>
impl<'m, 's> UnwindSafe for TextStyleFontModel<'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