pub struct DirectionalLightChange {
pub color: Option<Vec3>,
pub intensity: Option<f32>,
pub direction: Option<Vec3>,
pub distance: Option<f32>,
}Expand description
Describes a modification to a DirectionalLight.
Fields§
§color: Option<Vec3>§intensity: Option<f32>§direction: Option<Vec3>§distance: Option<f32>Trait Implementations§
Source§impl Clone for DirectionalLightChange
impl Clone for DirectionalLightChange
Source§fn clone(&self) -> DirectionalLightChange
fn clone(&self) -> DirectionalLightChange
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 DirectionalLightChange
impl Debug for DirectionalLightChange
Source§impl Default for DirectionalLightChange
impl Default for DirectionalLightChange
Source§fn default() -> DirectionalLightChange
fn default() -> DirectionalLightChange
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DirectionalLightChange
impl RefUnwindSafe for DirectionalLightChange
impl Send for DirectionalLightChange
impl Sync for DirectionalLightChange
impl Unpin for DirectionalLightChange
impl UnwindSafe for DirectionalLightChange
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