pub struct FuncTracktrain<'a> {Show 31 fields
pub _minlight: bool,
pub bank: bool,
pub disablereceiveshadows: bool,
pub disableshadows: bool,
pub dmg: bool,
pub height: u8,
pub manualaccelspeed: bool,
pub manualdecelspeed: bool,
pub manualspeedchanges: bool,
pub model: &'a str,
pub movesound: Option<&'a str>,
pub movesoundmaxpitch: u8,
pub movesoundmaxtime: bool,
pub movesoundminpitch: u8,
pub movesoundmintime: bool,
pub orientationtype: u8,
pub origin: Vector,
pub renderamt: u8,
pub rendercolor: Color,
pub renderfx: bool,
pub rendermode: bool,
pub spawnflags: u32,
pub speed: u16,
pub startsound: Option<&'a str>,
pub startspeed: u16,
pub stopsound: Option<&'a str>,
pub target: &'a str,
pub targetname: &'a str,
pub velocitytype: u8,
pub volume: f32,
pub wheels: u8,
}Fields§
§_minlight: bool§bank: bool§disablereceiveshadows: bool§disableshadows: bool§dmg: bool§height: u8§manualaccelspeed: bool§manualdecelspeed: bool§manualspeedchanges: bool§model: &'a str§movesound: Option<&'a str>§movesoundmaxpitch: u8§movesoundmaxtime: bool§movesoundminpitch: u8§movesoundmintime: bool§orientationtype: u8§origin: Vector§renderamt: u8§rendercolor: Color§renderfx: bool§rendermode: bool§spawnflags: u32§speed: u16§startsound: Option<&'a str>§startspeed: u16§stopsound: Option<&'a str>§target: &'a str§targetname: &'a str§velocitytype: u8§volume: f32§wheels: u8Trait Implementations§
Source§impl<'a> Clone for FuncTracktrain<'a>
impl<'a> Clone for FuncTracktrain<'a>
Source§fn clone(&self) -> FuncTracktrain<'a>
fn clone(&self) -> FuncTracktrain<'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 FuncTracktrain<'a>
impl<'a> Debug for FuncTracktrain<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for FuncTracktrain<'a>
impl<'de: 'a, 'a> Deserialize<'de> for FuncTracktrain<'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 FuncTracktrain<'a>
impl<'a> RefUnwindSafe for FuncTracktrain<'a>
impl<'a> Send for FuncTracktrain<'a>
impl<'a> Sync for FuncTracktrain<'a>
impl<'a> Unpin for FuncTracktrain<'a>
impl<'a> UnwindSafe for FuncTracktrain<'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