pub struct PlanLight {
pub at: [f32; 3],
pub warm: f32,
pub range: f32,
pub intensity: f32,
pub fixture: bool,
}Fields§
§at: [f32; 3]§warm: f32§range: f32§intensity: f32§fixture: boolDraw a lamp post under it (else the light just is).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlanLight
impl<'de> Deserialize<'de> for PlanLight
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
impl StructuralPartialEq for PlanLight
Auto Trait Implementations§
impl Freeze for PlanLight
impl RefUnwindSafe for PlanLight
impl Send for PlanLight
impl Sync for PlanLight
impl Unpin for PlanLight
impl UnsafeUnpin for PlanLight
impl UnwindSafe for PlanLight
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