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