pub struct LightDirection {
pub x: f32,
pub y: f32,
pub intensity: f32,
pub color: Color,
}Fields§
§x: f32§y: f32§intensity: f32§color: ColorTrait Implementations§
Source§impl Clone for LightDirection
impl Clone for LightDirection
impl Copy for LightDirection
Source§impl Debug for LightDirection
impl Debug for LightDirection
Auto Trait Implementations§
impl Freeze for LightDirection
impl RefUnwindSafe for LightDirection
impl Send for LightDirection
impl Sync for LightDirection
impl Unpin for LightDirection
impl UnsafeUnpin for LightDirection
impl UnwindSafe for LightDirection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more