pub enum ExtractedLight {
Directional(DirectionalLightDesc),
Point(PointLightDesc),
}Expand description
A light extracted from the scene with full properties.
Variants§
Directional(DirectionalLightDesc)
Point(PointLightDesc)
Trait Implementations§
Source§impl Clone for ExtractedLight
impl Clone for ExtractedLight
Source§fn clone(&self) -> ExtractedLight
fn clone(&self) -> ExtractedLight
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 moreAuto Trait Implementations§
impl Freeze for ExtractedLight
impl RefUnwindSafe for ExtractedLight
impl Send for ExtractedLight
impl Sync for ExtractedLight
impl Unpin for ExtractedLight
impl UnsafeUnpin for ExtractedLight
impl UnwindSafe for ExtractedLight
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