pub struct EnvSprite<'a> {Show 19 fields
pub _minlight: Option<f32>,
pub angles: Option<Angles>,
pub disablereceiveshadows: bool,
pub disableshadows: bool,
pub framerate: f32,
pub glowproxysize: f32,
pub hdrcolorscale: Option<f32>,
pub maxdxlevel: bool,
pub mindxlevel: Option<u8>,
pub model: &'a str,
pub origin: Vector,
pub parentname: Option<&'a str>,
pub renderamt: u8,
pub rendercolor: Color,
pub renderfx: Option<u8>,
pub rendermode: Option<u8>,
pub scale: Option<f32>,
pub spawnflags: Option<u32>,
pub targetname: Option<&'a str>,
}Fields§
§_minlight: Option<f32>§angles: Option<Angles>§disablereceiveshadows: bool§disableshadows: bool§framerate: f32§glowproxysize: f32§hdrcolorscale: Option<f32>§maxdxlevel: bool§mindxlevel: Option<u8>§model: &'a str§origin: Vector§parentname: Option<&'a str>§renderamt: u8§rendercolor: Color§renderfx: Option<u8>§rendermode: Option<u8>§scale: Option<f32>§spawnflags: Option<u32>§targetname: Option<&'a str>Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for EnvSprite<'a>
impl<'de: 'a, 'a> Deserialize<'de> for EnvSprite<'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 EnvSprite<'a>
impl<'a> RefUnwindSafe for EnvSprite<'a>
impl<'a> Send for EnvSprite<'a>
impl<'a> Sync for EnvSprite<'a>
impl<'a> Unpin for EnvSprite<'a>
impl<'a> UnwindSafe for EnvSprite<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more