[][src]Struct bve::parse::train_dat::acceleration::AccelerationPoint

pub struct AccelerationPoint {
    pub a0: f32,
    pub a1: f32,
    pub v1: f32,
    pub v2: f32,
    pub e: f32,
}

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]

impl Debug for AccelerationPoint[src]

impl Default for AccelerationPoint[src]

impl FromKVPValue for AccelerationPoint[src]

impl PartialEq<AccelerationPoint> for AccelerationPoint[src]

impl StructuralPartialEq for AccelerationPoint[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AnyEq for T where
    T: PartialEq<T> + Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.