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