pub struct LightEnvironment<'a> {Show 14 fields
pub _ambient: LightColor,
pub _ambienthdr: Option<&'a str>,
pub _ambientscalehdr: bool,
pub _diffuse_light: Option<LightColor>,
pub _diffuse_lighting: Option<LightColor>,
pub _light: LightColor,
pub _lighthdr: Option<&'a str>,
pub _lightscalehdr: bool,
pub angles: Angles,
pub origin: Vector,
pub pitch: Option<Angles>,
pub spawnflags: Option<u32>,
pub style: Option<i32>,
pub sunspreadangle: Option<u8>,
}Fields§
§_ambient: LightColor§_ambienthdr: Option<&'a str>§_ambientscalehdr: bool§_diffuse_light: Option<LightColor>§_diffuse_lighting: Option<LightColor>§_light: LightColor§_lighthdr: Option<&'a str>§_lightscalehdr: bool§angles: Angles§origin: Vector§pitch: Option<Angles>§spawnflags: Option<u32>§style: Option<i32>§sunspreadangle: Option<u8>Trait Implementations§
Source§impl<'a> Clone for LightEnvironment<'a>
impl<'a> Clone for LightEnvironment<'a>
Source§fn clone(&self) -> LightEnvironment<'a>
fn clone(&self) -> LightEnvironment<'a>
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<'a> Debug for LightEnvironment<'a>
impl<'a> Debug for LightEnvironment<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for LightEnvironment<'a>
impl<'de: 'a, 'a> Deserialize<'de> for LightEnvironment<'a>
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<'a> Freeze for LightEnvironment<'a>
impl<'a> RefUnwindSafe for LightEnvironment<'a>
impl<'a> Send for LightEnvironment<'a>
impl<'a> Sync for LightEnvironment<'a>
impl<'a> Unpin for LightEnvironment<'a>
impl<'a> UnwindSafe for LightEnvironment<'a>
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