pub enum DistributionType {
Direct,
Indirect,
DirectIndirect,
IndirectDirect,
}Expand description
Light distribution classification
Variants§
Direct
Direct lighting only (downward)
Indirect
Indirect lighting only (upward)
DirectIndirect
Primarily direct with some indirect component
IndirectDirect
Primarily indirect with some direct component
Trait Implementations§
Source§impl Clone for DistributionType
impl Clone for DistributionType
Source§fn clone(&self) -> DistributionType
fn clone(&self) -> DistributionType
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 DistributionType
impl Debug for DistributionType
Source§impl Default for DistributionType
impl Default for DistributionType
Source§fn default() -> DistributionType
fn default() -> DistributionType
Returns the “default value” for a type. Read more
Source§impl Display for DistributionType
impl Display for DistributionType
Source§impl PartialEq for DistributionType
impl PartialEq for DistributionType
impl Copy for DistributionType
impl Eq for DistributionType
impl StructuralPartialEq for DistributionType
Auto Trait Implementations§
impl Freeze for DistributionType
impl RefUnwindSafe for DistributionType
impl Send for DistributionType
impl Sync for DistributionType
impl Unpin for DistributionType
impl UnsafeUnpin for DistributionType
impl UnwindSafe for DistributionType
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