pub struct ACCESS_RIGHTS(/* private fields */);
Available on crate feature
kernel
only.Expand description
Implementations§
Source§impl ACCESS_RIGHTS
impl ACCESS_RIGHTS
Sourcepub const unsafe fn as_mut(&mut self) -> &mut u32
pub const unsafe fn as_mut(&mut self) -> &mut u32
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
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 ACCESS_RIGHTS
impl ACCESS_RIGHTS
Source§impl ACCESS_RIGHTS
impl ACCESS_RIGHTS
pub const DELETE: Self
pub const READ_CONTROL: Self
pub const WRITE_DAC: Self
pub const WRITE_OWNER: Self
pub const SYNCHRONIZE: Self
Trait Implementations§
Source§impl AsRef<u32> for ACCESS_RIGHTS
impl AsRef<u32> for ACCESS_RIGHTS
Source§impl Binary for ACCESS_RIGHTS
impl Binary for ACCESS_RIGHTS
Source§impl BitAnd for ACCESS_RIGHTS
impl BitAnd for ACCESS_RIGHTS
Source§impl BitAndAssign for ACCESS_RIGHTS
impl BitAndAssign for ACCESS_RIGHTS
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moreSource§impl BitOr for ACCESS_RIGHTS
impl BitOr for ACCESS_RIGHTS
Source§impl BitOrAssign for ACCESS_RIGHTS
impl BitOrAssign for ACCESS_RIGHTS
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moreSource§impl BitXor for ACCESS_RIGHTS
impl BitXor for ACCESS_RIGHTS
Source§impl BitXorAssign for ACCESS_RIGHTS
impl BitXorAssign for ACCESS_RIGHTS
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moreSource§impl Clone for ACCESS_RIGHTS
impl Clone for ACCESS_RIGHTS
Source§fn clone(&self) -> ACCESS_RIGHTS
fn clone(&self) -> ACCESS_RIGHTS
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ACCESS_RIGHTS
impl Debug for ACCESS_RIGHTS
Source§impl Default for ACCESS_RIGHTS
impl Default for ACCESS_RIGHTS
Source§fn default() -> ACCESS_RIGHTS
fn default() -> ACCESS_RIGHTS
Returns the “default value” for a type. Read more
Source§impl Display for ACCESS_RIGHTS
impl Display for ACCESS_RIGHTS
Source§impl From<ACCESS_RIGHTS> for u32
impl From<ACCESS_RIGHTS> for u32
Source§fn from(v: ACCESS_RIGHTS) -> Self
fn from(v: ACCESS_RIGHTS) -> Self
Converts to this type from the input type.
Source§impl Hash for ACCESS_RIGHTS
impl Hash for ACCESS_RIGHTS
Source§impl LowerHex for ACCESS_RIGHTS
impl LowerHex for ACCESS_RIGHTS
Source§impl Not for ACCESS_RIGHTS
impl Not for ACCESS_RIGHTS
Source§impl Octal for ACCESS_RIGHTS
impl Octal for ACCESS_RIGHTS
Source§impl Ord for ACCESS_RIGHTS
impl Ord for ACCESS_RIGHTS
Source§impl PartialEq for ACCESS_RIGHTS
impl PartialEq for ACCESS_RIGHTS
Source§impl PartialOrd for ACCESS_RIGHTS
impl PartialOrd for ACCESS_RIGHTS
Source§impl UpperHex for ACCESS_RIGHTS
impl UpperHex for ACCESS_RIGHTS
impl Copy for ACCESS_RIGHTS
impl Eq for ACCESS_RIGHTS
impl StructuralPartialEq for ACCESS_RIGHTS
Auto Trait Implementations§
impl Freeze for ACCESS_RIGHTS
impl RefUnwindSafe for ACCESS_RIGHTS
impl Send for ACCESS_RIGHTS
impl Sync for ACCESS_RIGHTS
impl Unpin for ACCESS_RIGHTS
impl UnwindSafe for ACCESS_RIGHTS
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