Struct winsafe::co::REG_DISPOSITION
source · pub struct REG_DISPOSITION(/* private fields */);
Available on crate feature
kernel
only.Expand description
HKEY::RegCreateKeyEx
creation disposition (u32
).
Implementations§
source§impl REG_DISPOSITION
impl REG_DISPOSITION
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_DISPOSITION
impl REG_DISPOSITION
sourcepub const CREATED_NEW_KEY: Self = _
pub const CREATED_NEW_KEY: Self = _
The key did not exist and was created.
sourcepub const OPENED_EXISTING_KEY: Self = _
pub const OPENED_EXISTING_KEY: Self = _
The key existed and was simply opened without being changed.
Trait Implementations§
source§impl AsRef<u32> for REG_DISPOSITION
impl AsRef<u32> for REG_DISPOSITION
source§impl Binary for REG_DISPOSITION
impl Binary for REG_DISPOSITION
source§impl Clone for REG_DISPOSITION
impl Clone for REG_DISPOSITION
source§fn clone(&self) -> REG_DISPOSITION
fn clone(&self) -> REG_DISPOSITION
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_DISPOSITION
impl Debug for REG_DISPOSITION
source§impl Default for REG_DISPOSITION
impl Default for REG_DISPOSITION
source§fn default() -> REG_DISPOSITION
fn default() -> REG_DISPOSITION
Returns the “default value” for a type. Read more
source§impl Display for REG_DISPOSITION
impl Display for REG_DISPOSITION
source§impl From<REG_DISPOSITION> for u32
impl From<REG_DISPOSITION> for u32
source§fn from(v: REG_DISPOSITION) -> Self
fn from(v: REG_DISPOSITION) -> Self
Converts to this type from the input type.
source§impl Hash for REG_DISPOSITION
impl Hash for REG_DISPOSITION
source§impl IntUnderlying for REG_DISPOSITION
impl IntUnderlying for REG_DISPOSITION
source§impl LowerHex for REG_DISPOSITION
impl LowerHex for REG_DISPOSITION
source§impl Octal for REG_DISPOSITION
impl Octal for REG_DISPOSITION
source§impl Ord for REG_DISPOSITION
impl Ord for REG_DISPOSITION
source§impl PartialEq for REG_DISPOSITION
impl PartialEq for REG_DISPOSITION
source§fn eq(&self, other: ®_DISPOSITION) -> bool
fn eq(&self, other: ®_DISPOSITION) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for REG_DISPOSITION
impl PartialOrd for REG_DISPOSITION
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_DISPOSITION
impl UpperHex for REG_DISPOSITION
impl Copy for REG_DISPOSITION
impl Eq for REG_DISPOSITION
impl NativeConst for REG_DISPOSITION
impl Send for REG_DISPOSITION
impl StructuralPartialEq for REG_DISPOSITION
Auto Trait Implementations§
impl Freeze for REG_DISPOSITION
impl RefUnwindSafe for REG_DISPOSITION
impl Sync for REG_DISPOSITION
impl Unpin for REG_DISPOSITION
impl UnwindSafe for REG_DISPOSITION
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