pub struct Drift {
pub yaw: [Harmonic; 3],
pub yaw_gain: f32,
pub pitch: [Harmonic; 3],
pub pitch_gain: f32,
pub roll: Harmonic,
pub roll_gain: f32,
pub offset: Harmonic,
pub offset_gain: f32,
pub calmed: bool,
pub quiet_roll: bool,
}Fields§
§yaw: [Harmonic; 3]§yaw_gain: f32§pitch: [Harmonic; 3]§pitch_gain: f32§roll: Harmonic§roll_gain: f32§offset: Harmonic§offset_gain: f32§calmed: bool§quiet_roll: boolTrait Implementations§
impl Copy for Drift
impl StructuralPartialEq for Drift
Auto Trait Implementations§
impl Freeze for Drift
impl RefUnwindSafe for Drift
impl Send for Drift
impl Sync for Drift
impl Unpin for Drift
impl UnsafeUnpin for Drift
impl UnwindSafe for Drift
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