pub struct Light {
pub weight: f32,
pub value: u32,
pub time: i32,
pub radius: u32,
pub color: Color,
pub flags: LightFlags,
}
Fields
weight: f32
value: u32
time: i32
radius: u32
color: Color
flags: LightFlags
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Light
impl<'de> Deserialize<'de> for Light
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Light
Auto Trait Implementations
impl RefUnwindSafe for Light
impl Send for Light
impl Sync for Light
impl Unpin for Light
impl UnwindSafe for Light
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more