pub struct SurfaceStyleShading<'m, 's> { /* private fields */ }Expand description
Borrowed projection of IfcSurfaceStyleShading (and its
IfcSurfaceStyleRendering subtype, whose extra attributes live in
crate::SurfaceStyleRendering).
Implementations§
Source§impl<'m, 's> SurfaceStyleShading<'m, 's>
impl<'m, 's> SurfaceStyleShading<'m, 's>
Sourcepub fn surface_colour(&self) -> StyleResult<EntityId>
pub fn surface_colour(&self) -> StyleResult<EntityId>
The SurfaceColour attribute. Mandatory.
Sourcepub fn transparency(&self) -> StyleResult<Option<f64>>
pub fn transparency(&self) -> StyleResult<Option<f64>>
IFC2x3 shading has no transparency slot; that is reported as absent.
Trait Implementations§
Source§impl<'m, 's> Clone for SurfaceStyleShading<'m, 's>
impl<'m, 's> Clone for SurfaceStyleShading<'m, 's>
impl<'m, 's> Copy for SurfaceStyleShading<'m, 's>
Auto Trait Implementations§
impl<'m, 's> Freeze for SurfaceStyleShading<'m, 's>
impl<'m, 's> RefUnwindSafe for SurfaceStyleShading<'m, 's>
impl<'m, 's> Send for SurfaceStyleShading<'m, 's>
impl<'m, 's> Sync for SurfaceStyleShading<'m, 's>
impl<'m, 's> Unpin for SurfaceStyleShading<'m, 's>
impl<'m, 's> UnsafeUnpin for SurfaceStyleShading<'m, 's>
impl<'m, 's> UnwindSafe for SurfaceStyleShading<'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