pub struct DXGI_MODE_ROTATION(/* private fields */);
Available on crate features
kernel
and dxgi
only.Expand description
DXGI_MODE_ROTATION
enumeration (u32
).
Implementations§
Source§impl DXGI_MODE_ROTATION
impl DXGI_MODE_ROTATION
Sourcepub const unsafe fn as_mut(&mut self) -> &mut u32
pub const unsafe fn as_mut(&mut self) -> &mut u32
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
Sourcepub const unsafe fn from_raw(v: u32) -> Self
pub const unsafe fn from_raw(v: u32) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
Sourcepub const fn raw(&self) -> u32
pub const fn raw(&self) -> u32
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
Trait Implementations§
Source§impl AsRef<u32> for DXGI_MODE_ROTATION
impl AsRef<u32> for DXGI_MODE_ROTATION
Source§impl Binary for DXGI_MODE_ROTATION
impl Binary for DXGI_MODE_ROTATION
Source§impl Clone for DXGI_MODE_ROTATION
impl Clone for DXGI_MODE_ROTATION
Source§fn clone(&self) -> DXGI_MODE_ROTATION
fn clone(&self) -> DXGI_MODE_ROTATION
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DXGI_MODE_ROTATION
impl Debug for DXGI_MODE_ROTATION
Source§impl Default for DXGI_MODE_ROTATION
impl Default for DXGI_MODE_ROTATION
Source§fn default() -> DXGI_MODE_ROTATION
fn default() -> DXGI_MODE_ROTATION
Returns the “default value” for a type. Read more
Source§impl Display for DXGI_MODE_ROTATION
impl Display for DXGI_MODE_ROTATION
Source§impl From<DXGI_MODE_ROTATION> for u32
impl From<DXGI_MODE_ROTATION> for u32
Source§fn from(v: DXGI_MODE_ROTATION) -> Self
fn from(v: DXGI_MODE_ROTATION) -> Self
Converts to this type from the input type.
Source§impl Hash for DXGI_MODE_ROTATION
impl Hash for DXGI_MODE_ROTATION
Source§impl LowerHex for DXGI_MODE_ROTATION
impl LowerHex for DXGI_MODE_ROTATION
Source§impl Octal for DXGI_MODE_ROTATION
impl Octal for DXGI_MODE_ROTATION
Source§impl Ord for DXGI_MODE_ROTATION
impl Ord for DXGI_MODE_ROTATION
Source§impl PartialEq for DXGI_MODE_ROTATION
impl PartialEq for DXGI_MODE_ROTATION
Source§impl PartialOrd for DXGI_MODE_ROTATION
impl PartialOrd for DXGI_MODE_ROTATION
Source§impl UpperHex for DXGI_MODE_ROTATION
impl UpperHex for DXGI_MODE_ROTATION
impl Copy for DXGI_MODE_ROTATION
impl Eq for DXGI_MODE_ROTATION
impl StructuralPartialEq for DXGI_MODE_ROTATION
Auto Trait Implementations§
impl Freeze for DXGI_MODE_ROTATION
impl RefUnwindSafe for DXGI_MODE_ROTATION
impl Send for DXGI_MODE_ROTATION
impl Sync for DXGI_MODE_ROTATION
impl Unpin for DXGI_MODE_ROTATION
impl UnwindSafe for DXGI_MODE_ROTATION
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