pub struct PointLightDef {
pub id: String,
pub position: [f32; 3],
pub color: [f32; 3],
pub intensity: f32,
pub range: f32,
}Fields§
§id: String§position: [f32; 3]§color: [f32; 3]§intensity: f32§range: f32Trait Implementations§
Source§impl Clone for PointLightDef
impl Clone for PointLightDef
Source§fn clone(&self) -> PointLightDef
fn clone(&self) -> PointLightDef
Returns a duplicate of the value. Read more
1.0.0 · 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 PointLightDef
impl Debug for PointLightDef
Source§impl<'de> Deserialize<'de> for PointLightDef
impl<'de> Deserialize<'de> for PointLightDef
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
Auto Trait Implementations§
impl Freeze for PointLightDef
impl RefUnwindSafe for PointLightDef
impl Send for PointLightDef
impl Sync for PointLightDef
impl Unpin for PointLightDef
impl UnsafeUnpin for PointLightDef
impl UnwindSafe for PointLightDef
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