Enum mpu9250::Orientation
source · pub enum Orientation {
ZUp,
ZDown,
XUp,
XDown,
YUp,
YDown,
XForward,
XBackward,
}
Expand description
DMP base orienatation, default Z axe pointing up
Variants§
ZUp
Z axe pointing up
ZDown
Z axe pointing down
XUp
X axe pointing up
XDown
X axe pointing down
YUp
Y axe pointing up
YDown
Y axe pointing down
XForward
X pointing forward
XBackward
X pointing forward
Trait Implementations§
source§impl Clone for Orientation
impl Clone for Orientation
source§fn clone(&self) -> Orientation
fn clone(&self) -> Orientation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Orientation
impl Debug for Orientation
source§impl Default for Orientation
impl Default for Orientation
impl Copy for Orientation
Auto Trait Implementations§
impl RefUnwindSafe for Orientation
impl Send for Orientation
impl Sync for Orientation
impl Unpin for Orientation
impl UnwindSafe for Orientation
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