pub struct GearTorque {
pub output: f64,
pub rotor: f64,
}Fields§
§output: f64Torque driving the output shaft.
rotor: f64Reaction that the motor shaft has to overcome.
Trait Implementations§
Source§impl Clone for GearTorque
impl Clone for GearTorque
Source§fn clone(&self) -> GearTorque
fn clone(&self) -> GearTorque
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GearTorque
Auto Trait Implementations§
impl Freeze for GearTorque
impl RefUnwindSafe for GearTorque
impl Send for GearTorque
impl Sync for GearTorque
impl Unpin for GearTorque
impl UnsafeUnpin for GearTorque
impl UnwindSafe for GearTorque
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