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