pub struct FuncPhysbox<'a> {Show 30 fields
pub _minlight: Option<f32>,
pub damagetoenablemotion: bool,
pub damagetype: bool,
pub disablereceiveshadows: bool,
pub disableshadows: bool,
pub explodedamage: bool,
pub explodemagnitude: bool,
pub exploderadius: bool,
pub explosion: bool,
pub forcetoenablemotion: bool,
pub gibdir: Vector,
pub health: Option<u16>,
pub massscale: Option<f32>,
pub material: Option<u8>,
pub model: &'a str,
pub nodamageforces: bool,
pub notsolid: bool,
pub origin: Vector,
pub parentname: Option<&'a str>,
pub performancemode: bool,
pub preferredcarryangles: Angles,
pub pressuredelay: bool,
pub propdata: Option<u8>,
pub renderamt: u8,
pub rendercolor: Color,
pub renderfx: bool,
pub rendermode: bool,
pub spawnflags: u32,
pub spawnobject: bool,
pub targetname: Option<&'a str>,
}Fields§
§_minlight: Option<f32>§damagetoenablemotion: bool§damagetype: bool§disablereceiveshadows: bool§disableshadows: bool§explodedamage: bool§explodemagnitude: bool§exploderadius: bool§explosion: bool§forcetoenablemotion: bool§gibdir: Vector§health: Option<u16>§massscale: Option<f32>§material: Option<u8>§model: &'a str§nodamageforces: bool§notsolid: bool§origin: Vector§parentname: Option<&'a str>§performancemode: bool§preferredcarryangles: Angles§pressuredelay: bool§propdata: Option<u8>§renderamt: u8§rendercolor: Color§renderfx: bool§rendermode: bool§spawnflags: u32§spawnobject: bool§targetname: Option<&'a str>Trait Implementations§
Source§impl<'a> Clone for FuncPhysbox<'a>
impl<'a> Clone for FuncPhysbox<'a>
Source§fn clone(&self) -> FuncPhysbox<'a>
fn clone(&self) -> FuncPhysbox<'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 FuncPhysbox<'a>
impl<'a> Debug for FuncPhysbox<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for FuncPhysbox<'a>
impl<'de: 'a, 'a> Deserialize<'de> for FuncPhysbox<'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 FuncPhysbox<'a>
impl<'a> RefUnwindSafe for FuncPhysbox<'a>
impl<'a> Send for FuncPhysbox<'a>
impl<'a> Sync for FuncPhysbox<'a>
impl<'a> Unpin for FuncPhysbox<'a>
impl<'a> UnwindSafe for FuncPhysbox<'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