pub struct AuthoredLight {
pub toward: [f64; 3],
pub colour: [f64; 3],
pub intensity: f64,
pub ambient: f64,
pub cool: f64,
}Fields§
§toward: [f64; 3]§colour: [f64; 3]§intensity: f64§ambient: f64§cool: f64Trait Implementations§
Source§impl Clone for AuthoredLight
impl Clone for AuthoredLight
Source§fn clone(&self) -> AuthoredLight
fn clone(&self) -> AuthoredLight
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AuthoredLight
impl Debug for AuthoredLight
Source§impl PartialEq for AuthoredLight
impl PartialEq for AuthoredLight
Source§fn eq(&self, other: &AuthoredLight) -> bool
fn eq(&self, other: &AuthoredLight) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AuthoredLight
impl StructuralPartialEq for AuthoredLight
Auto Trait Implementations§
impl Freeze for AuthoredLight
impl RefUnwindSafe for AuthoredLight
impl Send for AuthoredLight
impl Sync for AuthoredLight
impl Unpin for AuthoredLight
impl UnsafeUnpin for AuthoredLight
impl UnwindSafe for AuthoredLight
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