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