Struct lotus_script::vehicle::Bogie
source · pub struct Bogie { /* private fields */ }
Implementations§
source§impl Bogie
impl Bogie
pub fn get(index: usize) -> Result<Bogie, VehicleError>
sourcepub fn set_rail_brake_force_newton(self, value: f32)
pub fn set_rail_brake_force_newton(self, value: f32)
Sets the rail brake force at the given bogie. The rail brake consists of electromagnets that are set against the rail. They then slide over the rail with high friction, which allows the vehicle to be braked much more strongly: While the normal wheel brake only has the axle load available to build up a frictional grip with the rail, the rail brake can exert much higher frictional forces and thus braking forces, even relatively independent of the rail condition (moisture and dirt are effectively “ground off”).
Trait Implementations§
source§impl PartialEq for Bogie
impl PartialEq for Bogie
impl Copy for Bogie
impl Eq for Bogie
impl StructuralPartialEq for Bogie
Auto Trait Implementations§
impl Freeze for Bogie
impl RefUnwindSafe for Bogie
impl Send for Bogie
impl Sync for Bogie
impl Unpin for Bogie
impl UnwindSafe for Bogie
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