pub struct SurfaceStyle<'m, 's> { /* private fields */ }Expand description
Borrowed projection of IfcSurfaceStyle.
Implementations§
Source§impl<'m, 's> SurfaceStyle<'m, 's>
impl<'m, 's> SurfaceStyle<'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 side(&self) -> StyleResult<SurfaceSide>
pub fn side(&self) -> StyleResult<SurfaceSide>
The Side attribute: which face(s) the contained styles apply to. Mandatory.
Sourcepub fn elements(&self) -> StyleResult<Vec<EntityId>>
pub fn elements(&self) -> StyleResult<Vec<EntityId>>
The Styles select: the surface-style elements attached to this
style (shading, lighting, refraction, textures, or an externally
defined style), one to five members. Rejects a duplicate element
category (e.g. two IfcSurfaceStyleShading members).
Trait Implementations§
Source§impl<'m, 's> Clone for SurfaceStyle<'m, 's>
impl<'m, 's> Clone for SurfaceStyle<'m, 's>
impl<'m, 's> Copy for SurfaceStyle<'m, 's>
Auto Trait Implementations§
impl<'m, 's> Freeze for SurfaceStyle<'m, 's>
impl<'m, 's> RefUnwindSafe for SurfaceStyle<'m, 's>
impl<'m, 's> Send for SurfaceStyle<'m, 's>
impl<'m, 's> Sync for SurfaceStyle<'m, 's>
impl<'m, 's> Unpin for SurfaceStyle<'m, 's>
impl<'m, 's> UnsafeUnpin for SurfaceStyle<'m, 's>
impl<'m, 's> UnwindSafe for SurfaceStyle<'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