[][src]Struct bve::parse::train_dat::handle::HandleSection

pub struct HandleSection {
    pub handle_type: HandleType,
    pub power_notches: u64,
    pub brake_notches: u64,
    pub power_notch_reduce_steps: u64,
    pub emergency_brake_handle_behavior: EmergencyBrakeHandleBehavior,
    pub loco_brake_notches: u64,
    pub loco_brake_type: LocoBrakeType,
}

Fields

handle_type: HandleTypepower_notches: u64brake_notches: u64power_notch_reduce_steps: u64emergency_brake_handle_behavior: EmergencyBrakeHandleBehaviorloco_brake_notches: u64loco_brake_type: LocoBrakeType

Trait Implementations

impl Clone for HandleSection[src]

impl Debug for HandleSection[src]

impl Default for HandleSection[src]

impl FromKVPSection for HandleSection[src]

impl PartialEq<HandleSection> for HandleSection[src]

impl StructuralPartialEq for HandleSection[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.