pub struct PointTemplate<'a> {Show 25 fields
pub boltwidth: Option<u8>,
pub damage: bool,
pub decalname: Option<&'a str>,
pub framerate: bool,
pub framestart: bool,
pub hdrcolorscale: Option<f32>,
pub life: bool,
pub noiseamplitude: bool,
pub onentityspawned: Option<&'a str>,
pub origin: Vector,
pub radius: Option<u16>,
pub renderamt: Option<u8>,
pub rendercolor: Option<Color>,
pub renderfx: bool,
pub spawnflags: u32,
pub striketime: bool,
pub targetname: &'a str,
pub template01: &'a str,
pub template02: Option<&'a str>,
pub template03: Option<&'a str>,
pub template04: Option<&'a str>,
pub template05: Option<&'a str>,
pub texture: Option<&'a str>,
pub texturescroll: Option<u8>,
pub touchtype: bool,
}Fields§
§boltwidth: Option<u8>§damage: bool§decalname: Option<&'a str>§framerate: bool§framestart: bool§hdrcolorscale: Option<f32>§life: bool§noiseamplitude: bool§onentityspawned: Option<&'a str>§origin: Vector§radius: Option<u16>§renderamt: Option<u8>§rendercolor: Option<Color>§renderfx: bool§spawnflags: u32§striketime: bool§targetname: &'a str§template01: &'a str§template02: Option<&'a str>§template03: Option<&'a str>§template04: Option<&'a str>§template05: Option<&'a str>§texture: Option<&'a str>§texturescroll: Option<u8>§touchtype: boolTrait Implementations§
Source§impl<'a> Clone for PointTemplate<'a>
impl<'a> Clone for PointTemplate<'a>
Source§fn clone(&self) -> PointTemplate<'a>
fn clone(&self) -> PointTemplate<'a>
Returns a copy 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 PointTemplate<'a>
impl<'a> Debug for PointTemplate<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for PointTemplate<'a>
impl<'de: 'a, 'a> Deserialize<'de> for PointTemplate<'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 PointTemplate<'a>
impl<'a> RefUnwindSafe for PointTemplate<'a>
impl<'a> Send for PointTemplate<'a>
impl<'a> Sync for PointTemplate<'a>
impl<'a> Unpin for PointTemplate<'a>
impl<'a> UnwindSafe for PointTemplate<'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