Struct winsafe::co::DXGI_RESIDENCY
source · pub struct DXGI_RESIDENCY(/* private fields */);
Available on crate features
kernel
and dxgi
only.Expand description
DXGI_RESIDENCY
enumeration (u32
).
Implementations§
source§impl DXGI_RESIDENCY
impl DXGI_RESIDENCY
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.
source§impl DXGI_RESIDENCY
impl DXGI_RESIDENCY
pub const FULLY_RESIDENT: Self = _
pub const RESIDENT_IN_SHARED_MEMORY: Self = _
pub const EVICTED_TO_DISK: Self = _
Trait Implementations§
source§impl AsRef<u32> for DXGI_RESIDENCY
impl AsRef<u32> for DXGI_RESIDENCY
source§impl Binary for DXGI_RESIDENCY
impl Binary for DXGI_RESIDENCY
source§impl Clone for DXGI_RESIDENCY
impl Clone for DXGI_RESIDENCY
source§fn clone(&self) -> DXGI_RESIDENCY
fn clone(&self) -> DXGI_RESIDENCY
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 DXGI_RESIDENCY
impl Debug for DXGI_RESIDENCY
source§impl Default for DXGI_RESIDENCY
impl Default for DXGI_RESIDENCY
source§fn default() -> DXGI_RESIDENCY
fn default() -> DXGI_RESIDENCY
Returns the “default value” for a type. Read more
source§impl Display for DXGI_RESIDENCY
impl Display for DXGI_RESIDENCY
source§impl From<DXGI_RESIDENCY> for u32
impl From<DXGI_RESIDENCY> for u32
source§fn from(v: DXGI_RESIDENCY) -> Self
fn from(v: DXGI_RESIDENCY) -> Self
Converts to this type from the input type.
source§impl Hash for DXGI_RESIDENCY
impl Hash for DXGI_RESIDENCY
source§impl IntUnderlying for DXGI_RESIDENCY
impl IntUnderlying for DXGI_RESIDENCY
source§impl LowerHex for DXGI_RESIDENCY
impl LowerHex for DXGI_RESIDENCY
source§impl Octal for DXGI_RESIDENCY
impl Octal for DXGI_RESIDENCY
source§impl Ord for DXGI_RESIDENCY
impl Ord for DXGI_RESIDENCY
source§impl PartialEq for DXGI_RESIDENCY
impl PartialEq for DXGI_RESIDENCY
source§fn eq(&self, other: &DXGI_RESIDENCY) -> bool
fn eq(&self, other: &DXGI_RESIDENCY) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DXGI_RESIDENCY
impl PartialOrd for DXGI_RESIDENCY
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl UpperHex for DXGI_RESIDENCY
impl UpperHex for DXGI_RESIDENCY
impl Copy for DXGI_RESIDENCY
impl Eq for DXGI_RESIDENCY
impl NativeConst for DXGI_RESIDENCY
impl Send for DXGI_RESIDENCY
impl StructuralPartialEq for DXGI_RESIDENCY
Auto Trait Implementations§
impl Freeze for DXGI_RESIDENCY
impl RefUnwindSafe for DXGI_RESIDENCY
impl Sync for DXGI_RESIDENCY
impl Unpin for DXGI_RESIDENCY
impl UnwindSafe for DXGI_RESIDENCY
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