pub struct LightSourceDraft<'a> {
pub name: Option<&'a str>,
pub light_colour: EntityId,
pub ambient_intensity: Option<f64>,
pub intensity: Option<f64>,
}Expand description
The four attributes every IfcLightSource carries.
Fields§
§name: Option<&'a str>Name.
light_colour: EntityIdLightColour: an IfcColourRgb. Required.
ambient_intensity: Option<f64>AmbientIntensity, a normalised ratio.
intensity: Option<f64>Intensity, a normalised ratio.
Trait Implementations§
Source§impl<'a> Clone for LightSourceDraft<'a>
impl<'a> Clone for LightSourceDraft<'a>
impl<'a> Copy for LightSourceDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for LightSourceDraft<'a>
impl<'a> RefUnwindSafe for LightSourceDraft<'a>
impl<'a> Send for LightSourceDraft<'a>
impl<'a> Sync for LightSourceDraft<'a>
impl<'a> Unpin for LightSourceDraft<'a>
impl<'a> UnsafeUnpin for LightSourceDraft<'a>
impl<'a> UnwindSafe for LightSourceDraft<'a>
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