pub struct Tilt {
pub roll: f64,
pub pitch: f64,
}Expand description
Roll and pitch angles, in degrees.
Fields§
§roll: f64Rotation about the forward (x) axis, in degrees, in [-180.0, 180.0].
pitch: f64Rotation about the right (y) axis, in degrees, in [-90.0, 90.0].
Trait Implementations§
impl Copy for Tilt
impl StructuralPartialEq for Tilt
Auto Trait Implementations§
impl Freeze for Tilt
impl RefUnwindSafe for Tilt
impl Send for Tilt
impl Sync for Tilt
impl Unpin for Tilt
impl UnsafeUnpin for Tilt
impl UnwindSafe for Tilt
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