#[repr(transparent)]pub struct Print_OrientationMode(pub c_uint);Available on crate features
print and api-12 only.Expand description
Indicates OrientationMode
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl Print_OrientationMode
impl Print_OrientationMode
Sourcepub const ORIENTATION_MODE_PORTRAIT: Print_OrientationMode
pub const ORIENTATION_MODE_PORTRAIT: Print_OrientationMode
Portrait mode.
Sourcepub const ORIENTATION_MODE_LANDSCAPE: Print_OrientationMode
pub const ORIENTATION_MODE_LANDSCAPE: Print_OrientationMode
Landscape mode.
Sourcepub const ORIENTATION_MODE_REVERSE_LANDSCAPE: Print_OrientationMode
pub const ORIENTATION_MODE_REVERSE_LANDSCAPE: Print_OrientationMode
Reverse landscape mode.
Sourcepub const ORIENTATION_MODE_REVERSE_PORTRAIT: Print_OrientationMode
pub const ORIENTATION_MODE_REVERSE_PORTRAIT: Print_OrientationMode
Reverse portrait mode.
Sourcepub const ORIENTATION_MODE_NONE: Print_OrientationMode
pub const ORIENTATION_MODE_NONE: Print_OrientationMode
Not specified.
Trait Implementations§
Source§impl Clone for Print_OrientationMode
impl Clone for Print_OrientationMode
Source§fn clone(&self) -> Print_OrientationMode
fn clone(&self) -> Print_OrientationMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Print_OrientationMode
impl Debug for Print_OrientationMode
Source§impl Hash for Print_OrientationMode
impl Hash for Print_OrientationMode
Source§impl PartialEq for Print_OrientationMode
impl PartialEq for Print_OrientationMode
Source§fn eq(&self, other: &Print_OrientationMode) -> bool
fn eq(&self, other: &Print_OrientationMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Print_OrientationMode
impl Eq for Print_OrientationMode
impl StructuralPartialEq for Print_OrientationMode
Auto Trait Implementations§
impl Freeze for Print_OrientationMode
impl RefUnwindSafe for Print_OrientationMode
impl Send for Print_OrientationMode
impl Sync for Print_OrientationMode
impl Unpin for Print_OrientationMode
impl UnsafeUnpin for Print_OrientationMode
impl UnwindSafe for Print_OrientationMode
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