pub struct CurveStyle<'m, 's> { /* private fields */ }Expand description
Borrowed projection of IfcCurveStyle.
Implementations§
Source§impl<'m, 's> CurveStyle<'m, 's>
impl<'m, 's> CurveStyle<'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 curve_font(&self) -> StyleResult<Option<&'m Value>>
pub fn curve_font(&self) -> StyleResult<Option<&'m Value>>
The CurveFont attribute: a reference to an IfcCurveStyleFont, a
predefined curve font name, or None if unauthored. Returned raw
because the select is not narrowed to a single entity type here.
Sourcepub fn curve_width(&self) -> StyleResult<Option<&'m Value>>
pub fn curve_width(&self) -> StyleResult<Option<&'m Value>>
The CurveWidth attribute (an IfcSizeSelect: a fixed measure or a
positive-length select member), when authored.
Sourcepub fn curve_colour(&self) -> StyleResult<Option<EntityId>>
pub fn curve_colour(&self) -> StyleResult<Option<EntityId>>
The CurveColour attribute, resolved through the IfcColour select,
when authored.
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 curve style, None if unauthored.
Trait Implementations§
Source§impl<'m, 's> Clone for CurveStyle<'m, 's>
impl<'m, 's> Clone for CurveStyle<'m, 's>
impl<'m, 's> Copy for CurveStyle<'m, 's>
Auto Trait Implementations§
impl<'m, 's> Freeze for CurveStyle<'m, 's>
impl<'m, 's> RefUnwindSafe for CurveStyle<'m, 's>
impl<'m, 's> Send for CurveStyle<'m, 's>
impl<'m, 's> Sync for CurveStyle<'m, 's>
impl<'m, 's> Unpin for CurveStyle<'m, 's>
impl<'m, 's> UnsafeUnpin for CurveStyle<'m, 's>
impl<'m, 's> UnwindSafe for CurveStyle<'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