Struct winsafe::co::REG_RESTORE
source · pub struct REG_RESTORE(/* private fields */);
Available on crate feature
kernel
only.Expand description
Registry restore
flags
(u32
).
Originally has REG
prefix.
Implementations§
source§impl REG_RESTORE
impl REG_RESTORE
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_RESTORE
impl REG_RESTORE
pub const FORCE_RESTORE: Self = _
pub const WHOLE_HIVE_VOLATILE: Self = _
Trait Implementations§
source§impl AsRef<u32> for REG_RESTORE
impl AsRef<u32> for REG_RESTORE
source§impl Binary for REG_RESTORE
impl Binary for REG_RESTORE
source§impl Clone for REG_RESTORE
impl Clone for REG_RESTORE
source§fn clone(&self) -> REG_RESTORE
fn clone(&self) -> REG_RESTORE
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for REG_RESTORE
impl Debug for REG_RESTORE
source§impl Default for REG_RESTORE
impl Default for REG_RESTORE
source§fn default() -> REG_RESTORE
fn default() -> REG_RESTORE
Returns the “default value” for a type. Read more
source§impl Display for REG_RESTORE
impl Display for REG_RESTORE
source§impl From<REG_RESTORE> for u32
impl From<REG_RESTORE> for u32
source§fn from(v: REG_RESTORE) -> Self
fn from(v: REG_RESTORE) -> Self
Converts to this type from the input type.
source§impl Hash for REG_RESTORE
impl Hash for REG_RESTORE
source§impl IntUnderlying for REG_RESTORE
impl IntUnderlying for REG_RESTORE
source§impl LowerHex for REG_RESTORE
impl LowerHex for REG_RESTORE
source§impl Octal for REG_RESTORE
impl Octal for REG_RESTORE
source§impl Ord for REG_RESTORE
impl Ord for REG_RESTORE
source§impl PartialEq for REG_RESTORE
impl PartialEq for REG_RESTORE
source§fn eq(&self, other: ®_RESTORE) -> bool
fn eq(&self, other: ®_RESTORE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for REG_RESTORE
impl PartialOrd for REG_RESTORE
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 moresource§impl UpperHex for REG_RESTORE
impl UpperHex for REG_RESTORE
impl Copy for REG_RESTORE
impl Eq for REG_RESTORE
impl NativeConst for REG_RESTORE
impl Send for REG_RESTORE
impl StructuralPartialEq for REG_RESTORE
Auto Trait Implementations§
impl Freeze for REG_RESTORE
impl RefUnwindSafe for REG_RESTORE
impl Sync for REG_RESTORE
impl Unpin for REG_RESTORE
impl UnwindSafe for REG_RESTORE
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