pub struct Light {
pub colour: [f64; 3],
pub intensity: f64,
pub ambient: f64,
pub lamp: [f64; 3],
pub energy: f64,
pub sky: f64,
}Fields§
§colour: [f64; 3]§intensity: f64§ambient: f64§lamp: [f64; 3]§energy: f64§sky: f64Trait Implementations§
impl Copy for Light
impl StructuralPartialEq for Light
Auto Trait Implementations§
impl Freeze for Light
impl RefUnwindSafe for Light
impl Send for Light
impl Sync for Light
impl Unpin for Light
impl UnsafeUnpin for Light
impl UnwindSafe for Light
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