pub struct ACCELF(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
ACCELL
fVirt
(u8
).
Originally has F
prefix.
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl ACCELF
impl ACCELF
sourcepub const unsafe fn from_raw(v: u8) -> Self
pub const unsafe fn from_raw(v: u8) -> 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) -> u8
pub const fn raw(&self) -> u8
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 ACCELF
impl BitAndAssign for ACCELF
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for ACCELF
impl BitOrAssign for ACCELF
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for ACCELF
impl BitXorAssign for ACCELF
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for ACCELF
impl IntUnderlying for ACCELF
source§impl NativeBitflag for ACCELF
impl NativeBitflag for ACCELF
source§impl Ord for ACCELF
impl Ord for ACCELF
source§impl PartialEq for ACCELF
impl PartialEq for ACCELF
source§impl PartialOrd for ACCELF
impl PartialOrd for ACCELF
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 ACCELF
impl Eq for ACCELF
impl NativeConst for ACCELF
impl Send for ACCELF
impl StructuralPartialEq for ACCELF
Auto Trait Implementations§
impl Freeze for ACCELF
impl RefUnwindSafe for ACCELF
impl Sync for ACCELF
impl Unpin for ACCELF
impl UnwindSafe for ACCELF
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