pub struct KEY(/* private fields */);
Available on crate feature
kernel
only.Expand description
Registry access rights
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl KEY
impl KEY
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 KEY
impl KEY
pub const QUERY_VALUE: Self = _
pub const SET_VALUE: Self = _
pub const CREATE_SUB_KEY: Self = _
pub const ENUMERATE_SUB_KEYS: Self = _
pub const NOTIFY: Self = _
pub const CREATE_LINK: Self = _
pub const WOW64_32KEY: Self = _
pub const WOW64_64KEY: Self = _
pub const WOW64_RES: Self = _
pub const READ: Self = _
pub const WRITE: Self = _
pub const EXECUTE: Self = _
pub const ALL_ACCESS: Self = _
Trait Implementations§
source§impl BitAndAssign for KEY
impl BitAndAssign for KEY
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for KEY
impl BitOrAssign for KEY
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for KEY
impl BitXorAssign for KEY
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for KEY
impl IntUnderlying for KEY
source§impl NativeBitflag for KEY
impl NativeBitflag for KEY
source§impl Ord for KEY
impl Ord for KEY
source§impl PartialOrd for KEY
impl PartialOrd for KEY
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 KEY
impl Eq for KEY
impl NativeConst for KEY
impl Send for KEY
impl StructuralPartialEq for KEY
Auto Trait Implementations§
impl Freeze for KEY
impl RefUnwindSafe for KEY
impl Sync for KEY
impl Unpin for KEY
impl UnwindSafe for KEY
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