#[repr(transparent)]pub struct NativeDisplayManager_Rotation(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates rotations.
Available since API-level: 12
Version: 1.0
Tuple Fields§
§0: c_uintImplementations§
Source§impl NativeDisplayManager_Rotation
impl NativeDisplayManager_Rotation
Sourcepub const DISPLAY_MANAGER_ROTATION_0: NativeDisplayManager_Rotation
pub const DISPLAY_MANAGER_ROTATION_0: NativeDisplayManager_Rotation
device rotation 0 degree
Sourcepub const DISPLAY_MANAGER_ROTATION_90: NativeDisplayManager_Rotation
pub const DISPLAY_MANAGER_ROTATION_90: NativeDisplayManager_Rotation
device rotation 90 degrees
Sourcepub const DISPLAY_MANAGER_ROTATION_180: NativeDisplayManager_Rotation
pub const DISPLAY_MANAGER_ROTATION_180: NativeDisplayManager_Rotation
device rotation 180 degrees
Sourcepub const DISPLAY_MANAGER_ROTATION_270: NativeDisplayManager_Rotation
pub const DISPLAY_MANAGER_ROTATION_270: NativeDisplayManager_Rotation
device rotation 270 degree
Trait Implementations§
Source§impl Clone for NativeDisplayManager_Rotation
impl Clone for NativeDisplayManager_Rotation
Source§fn clone(&self) -> NativeDisplayManager_Rotation
fn clone(&self) -> NativeDisplayManager_Rotation
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Hash for NativeDisplayManager_Rotation
impl Hash for NativeDisplayManager_Rotation
impl Copy for NativeDisplayManager_Rotation
impl Eq for NativeDisplayManager_Rotation
impl StructuralPartialEq for NativeDisplayManager_Rotation
Auto Trait Implementations§
impl Freeze for NativeDisplayManager_Rotation
impl RefUnwindSafe for NativeDisplayManager_Rotation
impl Send for NativeDisplayManager_Rotation
impl Sync for NativeDisplayManager_Rotation
impl Unpin for NativeDisplayManager_Rotation
impl UnwindSafe for NativeDisplayManager_Rotation
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)