pub struct REG(/* private fields */);
Available on crate feature
kernel
only.Expand description
Registry
value types
(u32
).
Implementations§
source§impl REG
impl REG
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 REG
impl REG
pub const NONE: Self = _
pub const SZ: Self = _
pub const EXPAND_SZ: Self = _
pub const BINARY: Self = _
pub const DWORD: Self = _
pub const DWORD_LITTLE_ENDIAN: Self = _
pub const DWORD_BIG_ENDIAN: Self = _
pub const LINK: Self = _
pub const MULTI_SZ: Self = _
pub const RESOURCE_LIST: Self = _
pub const FULL_RESOURCE_DESCRIPTOR: Self = _
pub const RESOURCE_REQUIREMENTS_LIST: Self = _
pub const QWORD: Self = _
pub const QWORD_LITTLE_ENDIAN: Self = _
Trait Implementations§
source§impl IntUnderlying for REG
impl IntUnderlying for REG
source§impl Ord for REG
impl Ord for REG
source§impl PartialOrd for REG
impl PartialOrd for REG
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 REG
impl Eq for REG
impl NativeConst for REG
impl Send for REG
impl StructuralPartialEq for REG
Auto Trait Implementations§
impl Freeze for REG
impl RefUnwindSafe for REG
impl Sync for REG
impl Unpin for REG
impl UnwindSafe for REG
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