pub struct DBTF(/* private fields */);
Available on crate feature
kernel
only.Expand description
DEV_BROADCAST_VOLUME
dbcv_flags
(u16
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl DBTF
impl DBTF
sourcepub const unsafe fn from_raw(v: u16) -> Self
pub const unsafe fn from_raw(v: u16) -> 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) -> u16
pub const fn raw(&self) -> u16
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
Trait Implementations§
source§impl BitAndAssign for DBTF
impl BitAndAssign for DBTF
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for DBTF
impl BitOrAssign for DBTF
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for DBTF
impl BitXorAssign for DBTF
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for DBTF
impl IntUnderlying for DBTF
source§impl NativeBitflag for DBTF
impl NativeBitflag for DBTF
source§impl Ord for DBTF
impl Ord for DBTF
source§impl PartialEq for DBTF
impl PartialEq for DBTF
source§impl PartialOrd for DBTF
impl PartialOrd for DBTF
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 moreimpl Copy for DBTF
impl Eq for DBTF
impl NativeConst for DBTF
impl Send for DBTF
impl StructuralPartialEq for DBTF
Auto Trait Implementations§
impl Freeze for DBTF
impl RefUnwindSafe for DBTF
impl Sync for DBTF
impl Unpin for DBTF
impl UnwindSafe for DBTF
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