[−][src]Struct bve::parse::train_dat::acceleration::AccelerationPoint
Fields
a0: f32
A positive floating-point number representing the acceleration at a speed of 0 km/h expressed in km/h/s.
a1: f32
A positive floating-point number representing the acceleration at a speed of v1 expressed in km/h/s.
v1: f32
A positive floating-point number representing a reference speed in km/h corresponding to a1.
v2: f32
A positive floating-point number representing a reference speed in km/h corresponding to e.
e: f32
A positive floating-point number representing an exponent. The behavior is different for version 1.22 and version 2.0 file formats.
Trait Implementations
impl Clone for AccelerationPoint
[src]
fn clone(&self) -> AccelerationPoint
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AccelerationPoint
[src]
impl Default for AccelerationPoint
[src]
fn default() -> AccelerationPoint
[src]
impl FromKVPValue for AccelerationPoint
[src]
fn from_kvp_value(value: &str) -> Option<Self>
[src]
impl PartialEq<AccelerationPoint> for AccelerationPoint
[src]
fn eq(&self, other: &AccelerationPoint) -> bool
[src]
fn ne(&self, other: &AccelerationPoint) -> bool
[src]
impl StructuralPartialEq for AccelerationPoint
[src]
Auto Trait Implementations
impl RefUnwindSafe for AccelerationPoint
impl Send for AccelerationPoint
impl Sync for AccelerationPoint
impl Unpin for AccelerationPoint
impl UnwindSafe for AccelerationPoint
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AnyEq for T where
T: PartialEq<T> + Any,
T: PartialEq<T> + Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,