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