Struct winsafe::co::DXGI_PRESENT
source · pub struct DXGI_PRESENT(/* private fields */);
Available on crate features
kernel
and dxgi
only.Expand description
DXGI_PRESENT
enumeration (u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl DXGI_PRESENT
impl DXGI_PRESENT
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_PRESENT
impl DXGI_PRESENT
pub const DO_NOT_SEQUENCE: Self = _
pub const TEST: Self = _
pub const RESTART: Self = _
pub const DO_NOT_WAIT: Self = _
pub const RESTRICT_TO_OUTPUT: Self = _
pub const STEREO_PREFER_RIGHT: Self = _
pub const STEREO_TEMPORARY_MONO: Self = _
pub const USE_DURATION: Self = _
pub const ALLOW_TEARING: Self = _
Trait Implementations§
source§impl AsRef<u32> for DXGI_PRESENT
impl AsRef<u32> for DXGI_PRESENT
source§impl Binary for DXGI_PRESENT
impl Binary for DXGI_PRESENT
source§impl BitAnd for DXGI_PRESENT
impl BitAnd for DXGI_PRESENT
source§impl BitAndAssign for DXGI_PRESENT
impl BitAndAssign for DXGI_PRESENT
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for DXGI_PRESENT
impl BitOr for DXGI_PRESENT
source§impl BitOrAssign for DXGI_PRESENT
impl BitOrAssign for DXGI_PRESENT
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for DXGI_PRESENT
impl BitXor for DXGI_PRESENT
source§impl BitXorAssign for DXGI_PRESENT
impl BitXorAssign for DXGI_PRESENT
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for DXGI_PRESENT
impl Clone for DXGI_PRESENT
source§fn clone(&self) -> DXGI_PRESENT
fn clone(&self) -> DXGI_PRESENT
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_PRESENT
impl Debug for DXGI_PRESENT
source§impl Default for DXGI_PRESENT
impl Default for DXGI_PRESENT
source§fn default() -> DXGI_PRESENT
fn default() -> DXGI_PRESENT
Returns the “default value” for a type. Read more
source§impl Display for DXGI_PRESENT
impl Display for DXGI_PRESENT
source§impl From<DXGI_PRESENT> for u32
impl From<DXGI_PRESENT> for u32
source§fn from(v: DXGI_PRESENT) -> Self
fn from(v: DXGI_PRESENT) -> Self
Converts to this type from the input type.
source§impl Hash for DXGI_PRESENT
impl Hash for DXGI_PRESENT
source§impl IntUnderlying for DXGI_PRESENT
impl IntUnderlying for DXGI_PRESENT
source§impl LowerHex for DXGI_PRESENT
impl LowerHex for DXGI_PRESENT
source§impl NativeBitflag for DXGI_PRESENT
impl NativeBitflag for DXGI_PRESENT
source§impl Not for DXGI_PRESENT
impl Not for DXGI_PRESENT
source§impl Octal for DXGI_PRESENT
impl Octal for DXGI_PRESENT
source§impl Ord for DXGI_PRESENT
impl Ord for DXGI_PRESENT
source§impl PartialEq for DXGI_PRESENT
impl PartialEq for DXGI_PRESENT
source§fn eq(&self, other: &DXGI_PRESENT) -> bool
fn eq(&self, other: &DXGI_PRESENT) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DXGI_PRESENT
impl PartialOrd for DXGI_PRESENT
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_PRESENT
impl UpperHex for DXGI_PRESENT
impl Copy for DXGI_PRESENT
impl Eq for DXGI_PRESENT
impl NativeConst for DXGI_PRESENT
impl Send for DXGI_PRESENT
impl StructuralPartialEq for DXGI_PRESENT
Auto Trait Implementations§
impl Freeze for DXGI_PRESENT
impl RefUnwindSafe for DXGI_PRESENT
impl Sync for DXGI_PRESENT
impl Unpin for DXGI_PRESENT
impl UnwindSafe for DXGI_PRESENT
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