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§
source§impl<'de> Deserialize<'de> for Light
impl<'de> Deserialize<'de> for Light
source§fn 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
source§impl PartialEq for Light
impl PartialEq for Light
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§
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