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