pub struct LightSourceDirectional<'m, 's> { /* private fields */ }Expand description
Borrowed projection of IfcLightSourceDirectional: parallel rays with an
orientation but no position.
Implementations§
Source§impl<'m, 's> LightSourceDirectional<'m, 's>
impl<'m, 's> LightSourceDirectional<'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.
Sourcepub fn orientation(&self) -> StyleResult<EntityId>
pub fn orientation(&self) -> StyleResult<EntityId>
The Orientation attribute: a mandatory IfcDirection reference.
Returned as an id, not a vector. Resolving and normalizing a direction is geometry-resource work; this crate references representation items without importing geometry types.
Trait Implementations§
Source§impl<'m, 's> Clone for LightSourceDirectional<'m, 's>
impl<'m, 's> Clone for LightSourceDirectional<'m, 's>
impl<'m, 's> Copy for LightSourceDirectional<'m, 's>
Auto Trait Implementations§
impl<'m, 's> !RefUnwindSafe for LightSourceDirectional<'m, 's>
impl<'m, 's> !UnwindSafe for LightSourceDirectional<'m, 's>
impl<'m, 's> Freeze for LightSourceDirectional<'m, 's>
impl<'m, 's> Send for LightSourceDirectional<'m, 's>
impl<'m, 's> Sync for LightSourceDirectional<'m, 's>
impl<'m, 's> Unpin for LightSourceDirectional<'m, 's>
impl<'m, 's> UnsafeUnpin for LightSourceDirectional<'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