pub struct SurfaceStyleLighting<'m, 's> { /* private fields */ }Expand description
Borrowed projection of IfcSurfaceStyleLighting: the four colour
coefficients driving IFC’s simplified BRDF-like lighting model.
Implementations§
Source§impl<'m, 's> SurfaceStyleLighting<'m, 's>
impl<'m, 's> SurfaceStyleLighting<'m, 's>
Sourcepub fn diffuse_transmission_colour(&self) -> StyleResult<EntityId>
pub fn diffuse_transmission_colour(&self) -> StyleResult<EntityId>
The DiffuseTransmissionColour attribute. Mandatory.
Sourcepub fn diffuse_reflection_colour(&self) -> StyleResult<EntityId>
pub fn diffuse_reflection_colour(&self) -> StyleResult<EntityId>
The DiffuseReflectionColour attribute. Mandatory.
Sourcepub fn transmission_colour(&self) -> StyleResult<EntityId>
pub fn transmission_colour(&self) -> StyleResult<EntityId>
The TransmissionColour attribute. Mandatory.
Sourcepub fn reflectance_colour(&self) -> StyleResult<EntityId>
pub fn reflectance_colour(&self) -> StyleResult<EntityId>
The ReflectanceColour attribute. Mandatory.
Trait Implementations§
Source§impl<'m, 's> Clone for SurfaceStyleLighting<'m, 's>
impl<'m, 's> Clone for SurfaceStyleLighting<'m, 's>
Source§fn clone(&self) -> SurfaceStyleLighting<'m, 's>
fn clone(&self) -> SurfaceStyleLighting<'m, 's>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'m, 's> Copy for SurfaceStyleLighting<'m, 's>
Auto Trait Implementations§
impl<'m, 's> !RefUnwindSafe for SurfaceStyleLighting<'m, 's>
impl<'m, 's> !UnwindSafe for SurfaceStyleLighting<'m, 's>
impl<'m, 's> Freeze for SurfaceStyleLighting<'m, 's>
impl<'m, 's> Send for SurfaceStyleLighting<'m, 's>
impl<'m, 's> Sync for SurfaceStyleLighting<'m, 's>
impl<'m, 's> Unpin for SurfaceStyleLighting<'m, 's>
impl<'m, 's> UnsafeUnpin for SurfaceStyleLighting<'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