pub enum FileGenerationType {
Undefined,
ComputerSimulation,
UnaccreditedLab,
UnaccreditedLabScaled,
UnaccreditedLabInterpolated,
UnaccreditedLabInterpolatedScaled,
AccreditedLab,
AccreditedLabScaled,
AccreditedLabInterpolated,
AccreditedLabInterpolatedScaled,
}Expand description
File generation type (LM-63-2019 Section 5.13, Table 2).
Describes how the IES file was generated.
Variants§
Undefined
1.00001 - Undefined or older file
ComputerSimulation
1.00010 - Computer simulation (raytracing)
UnaccreditedLab
1.00000 - Test at unaccredited lab
UnaccreditedLabScaled
1.00100 - Test at unaccredited lab, lumen scaled
UnaccreditedLabInterpolated
1.01000 - Test at unaccredited lab, interpolated angles
UnaccreditedLabInterpolatedScaled
1.01100 - Test at unaccredited lab, interpolated and scaled
AccreditedLab
1.10000 - Test at accredited lab
AccreditedLabScaled
1.10100 - Test at accredited lab, lumen scaled
AccreditedLabInterpolated
1.11000 - Test at accredited lab, interpolated angles
AccreditedLabInterpolatedScaled
1.11100 - Test at accredited lab, interpolated and scaled
Implementations§
Source§impl FileGenerationType
impl FileGenerationType
Sourcepub fn from_value(value: f64) -> Self
pub fn from_value(value: f64) -> Self
Parse from decimal value.
Sourcepub fn is_accredited(&self) -> bool
pub fn is_accredited(&self) -> bool
Check if this is from an accredited lab.
Sourcepub fn is_interpolated(&self) -> bool
pub fn is_interpolated(&self) -> bool
Check if angles were interpolated.
Trait Implementations§
Source§impl Clone for FileGenerationType
impl Clone for FileGenerationType
Source§fn clone(&self) -> FileGenerationType
fn clone(&self) -> FileGenerationType
Returns a duplicate of the value. Read more
1.0.0 · 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 FileGenerationType
impl Debug for FileGenerationType
Source§impl Default for FileGenerationType
impl Default for FileGenerationType
Source§fn default() -> FileGenerationType
fn default() -> FileGenerationType
Returns the “default value” for a type. Read more
Source§impl PartialEq for FileGenerationType
impl PartialEq for FileGenerationType
impl Copy for FileGenerationType
impl StructuralPartialEq for FileGenerationType
Auto Trait Implementations§
impl Freeze for FileGenerationType
impl RefUnwindSafe for FileGenerationType
impl Send for FileGenerationType
impl Sync for FileGenerationType
impl Unpin for FileGenerationType
impl UnsafeUnpin for FileGenerationType
impl UnwindSafe for FileGenerationType
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