pub struct ImportedLightSource {
pub name: String,
pub color_temperature: Option<f64>,
pub luminous_flux: Option<f64>,
pub emission_source: Option<String>,
pub distribution: Option<ImportedDistribution>,
pub photometry_filename: Option<String>,
pub ldt_metadata: Option<LdtMetadata>,
}Expand description
Extracted light source data
Fields§
§name: StringSource name
color_temperature: Option<f64>Correlated color temperature (K)
luminous_flux: Option<f64>Luminous flux (lm)
emission_source: Option<String>Emission source type (LED, FLUORESCENT, etc.)
distribution: Option<ImportedDistribution>Light intensity distribution reference
photometry_filename: Option<String>Original photometry filename (e.g., “narrow.ldt”) - preserved through IFC roundtrip
ldt_metadata: Option<LdtMetadata>Original LDT metadata preserved through IFC roundtrip
Trait Implementations§
Source§impl Clone for ImportedLightSource
impl Clone for ImportedLightSource
Source§fn clone(&self) -> ImportedLightSource
fn clone(&self) -> ImportedLightSource
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 moreSource§impl Debug for ImportedLightSource
impl Debug for ImportedLightSource
Source§impl Default for ImportedLightSource
impl Default for ImportedLightSource
Source§fn default() -> ImportedLightSource
fn default() -> ImportedLightSource
Returns the “default value” for a type. Read more
Source§impl PartialEq for ImportedLightSource
impl PartialEq for ImportedLightSource
impl StructuralPartialEq for ImportedLightSource
Auto Trait Implementations§
impl Freeze for ImportedLightSource
impl RefUnwindSafe for ImportedLightSource
impl Send for ImportedLightSource
impl Sync for ImportedLightSource
impl Unpin for ImportedLightSource
impl UnsafeUnpin for ImportedLightSource
impl UnwindSafe for ImportedLightSource
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