pub struct OrientationWithMod {
pub orientation: u8,
pub orientation_mod: u8,
}Fields§
§orientation: u8§orientation_mod: u8Implementations§
Source§impl OrientationWithMod
impl OrientationWithMod
pub fn new_using_default_orientation_mod(orientation: u8) -> OrientationWithMod
Trait Implementations§
Source§impl Clone for OrientationWithMod
impl Clone for OrientationWithMod
Source§fn clone(&self) -> OrientationWithMod
fn clone(&self) -> OrientationWithMod
Returns a duplicate 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 OrientationWithMod
impl Debug for OrientationWithMod
Source§impl PartialEq for OrientationWithMod
impl PartialEq for OrientationWithMod
impl Copy for OrientationWithMod
impl Eq for OrientationWithMod
impl StructuralPartialEq for OrientationWithMod
Auto Trait Implementations§
impl Freeze for OrientationWithMod
impl RefUnwindSafe for OrientationWithMod
impl Send for OrientationWithMod
impl Sync for OrientationWithMod
impl Unpin for OrientationWithMod
impl UnwindSafe for OrientationWithMod
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