#[non_exhaustive]pub enum LightSourceKind {
Ambient,
Directional,
Goniometric,
Positional,
Spot,
}Expand description
Which concrete IfcLightSource subtype an entity declares.
Resolution walks the schema’s inheritance graph, so a subtype introduced by
a later schema resolves to its nearest known ancestor rather than being
mistaken for an unrelated family. Spot is checked before Positional
because IfcLightSourceSpot is a IfcLightSourcePositional.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ambient
IfcLightSourceAmbient: non-directional fill light.
Directional
IfcLightSourceDirectional: parallel rays, no position.
Goniometric
IfcLightSourceGoniometric: photometric light with a distribution curve.
Positional
IfcLightSourcePositional: point light with distance attenuation.
Spot
IfcLightSourceSpot: positional light narrowed to a cone.
Trait Implementations§
Source§impl Clone for LightSourceKind
impl Clone for LightSourceKind
impl Copy for LightSourceKind
Source§impl Debug for LightSourceKind
impl Debug for LightSourceKind
impl Eq for LightSourceKind
Source§impl PartialEq for LightSourceKind
impl PartialEq for LightSourceKind
impl StructuralPartialEq for LightSourceKind
Auto Trait Implementations§
impl Freeze for LightSourceKind
impl RefUnwindSafe for LightSourceKind
impl Send for LightSourceKind
impl Sync for LightSourceKind
impl Unpin for LightSourceKind
impl UnsafeUnpin for LightSourceKind
impl UnwindSafe for LightSourceKind
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