pub struct REG_DISPOSITION(/* private fields */);
Available on crate features
kernel
and advapi
only.Expand description
HKEY::RegCreateKeyEx
creation disposition (u32
).
Implementations§
Source§impl REG_DISPOSITION
impl REG_DISPOSITION
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 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 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§impl PartialOrd for REG_DISPOSITION
impl PartialOrd for REG_DISPOSITION
Source§impl UpperHex for REG_DISPOSITION
impl UpperHex for REG_DISPOSITION
impl Copy for REG_DISPOSITION
impl Eq for REG_DISPOSITION
impl StructuralPartialEq for REG_DISPOSITION
Auto Trait Implementations§
impl Freeze for REG_DISPOSITION
impl RefUnwindSafe for REG_DISPOSITION
impl Send 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