pub struct LightSourceAmbient<'m, 's> { /* private fields */ }Expand description
Borrowed projection of IfcLightSourceAmbient.
The subtype adds no attributes in any bundled schema; it exists so a file
can say “this is ambient fill” rather than leaving a reader to infer it.
The type is still distinct from LightSource so that a caller matching
on LightSourceKind gets a value it cannot accidentally aim or position.
Implementations§
Source§impl<'m, 's> LightSourceAmbient<'m, 's>
impl<'m, 's> LightSourceAmbient<'m, 's>
Sourcepub fn light_source(&self) -> LightSource<'m, 's>
pub fn light_source(&self) -> LightSource<'m, 's>
The inherited IfcLightSource colour and intensity attributes.
Trait Implementations§
Source§impl<'m, 's> Clone for LightSourceAmbient<'m, 's>
impl<'m, 's> Clone for LightSourceAmbient<'m, 's>
Source§fn clone(&self) -> LightSourceAmbient<'m, 's>
fn clone(&self) -> LightSourceAmbient<'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 LightSourceAmbient<'m, 's>
Auto Trait Implementations§
impl<'m, 's> !RefUnwindSafe for LightSourceAmbient<'m, 's>
impl<'m, 's> !UnwindSafe for LightSourceAmbient<'m, 's>
impl<'m, 's> Freeze for LightSourceAmbient<'m, 's>
impl<'m, 's> Send for LightSourceAmbient<'m, 's>
impl<'m, 's> Sync for LightSourceAmbient<'m, 's>
impl<'m, 's> Unpin for LightSourceAmbient<'m, 's>
impl<'m, 's> UnsafeUnpin for LightSourceAmbient<'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