Struct winsafe::co::REG_OPTION
source · pub struct REG_OPTION(/* private fields */);
Available on crate feature
kernel
only.Expand description
HKEY::RegOpenKeyEx
options
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl REG_OPTION
impl REG_OPTION
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_OPTION
impl REG_OPTION
pub const RESERVED: Self = _
pub const NON_VOLATILE: Self = _
pub const VOLATILE: Self = _
pub const CREATE_LINK: Self = _
pub const BACKUP_RESTORE: Self = _
pub const OPEN_LINK: Self = _
Trait Implementations§
source§impl AsRef<u32> for REG_OPTION
impl AsRef<u32> for REG_OPTION
source§impl Binary for REG_OPTION
impl Binary for REG_OPTION
source§impl BitAnd for REG_OPTION
impl BitAnd for REG_OPTION
source§impl BitAndAssign for REG_OPTION
impl BitAndAssign for REG_OPTION
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for REG_OPTION
impl BitOr for REG_OPTION
source§impl BitOrAssign for REG_OPTION
impl BitOrAssign for REG_OPTION
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for REG_OPTION
impl BitXor for REG_OPTION
source§impl BitXorAssign for REG_OPTION
impl BitXorAssign for REG_OPTION
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for REG_OPTION
impl Clone for REG_OPTION
source§fn clone(&self) -> REG_OPTION
fn clone(&self) -> REG_OPTION
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_OPTION
impl Debug for REG_OPTION
source§impl Default for REG_OPTION
impl Default for REG_OPTION
source§fn default() -> REG_OPTION
fn default() -> REG_OPTION
Returns the “default value” for a type. Read more
source§impl Display for REG_OPTION
impl Display for REG_OPTION
source§impl From<REG_OPTION> for u32
impl From<REG_OPTION> for u32
source§fn from(v: REG_OPTION) -> Self
fn from(v: REG_OPTION) -> Self
Converts to this type from the input type.
source§impl Hash for REG_OPTION
impl Hash for REG_OPTION
source§impl IntUnderlying for REG_OPTION
impl IntUnderlying for REG_OPTION
source§impl LowerHex for REG_OPTION
impl LowerHex for REG_OPTION
source§impl NativeBitflag for REG_OPTION
impl NativeBitflag for REG_OPTION
source§impl Not for REG_OPTION
impl Not for REG_OPTION
source§impl Octal for REG_OPTION
impl Octal for REG_OPTION
source§impl Ord for REG_OPTION
impl Ord for REG_OPTION
source§impl PartialEq for REG_OPTION
impl PartialEq for REG_OPTION
source§fn eq(&self, other: ®_OPTION) -> bool
fn eq(&self, other: ®_OPTION) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for REG_OPTION
impl PartialOrd for REG_OPTION
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_OPTION
impl UpperHex for REG_OPTION
impl Copy for REG_OPTION
impl Eq for REG_OPTION
impl NativeConst for REG_OPTION
impl Send for REG_OPTION
impl StructuralPartialEq for REG_OPTION
Auto Trait Implementations§
impl Freeze for REG_OPTION
impl RefUnwindSafe for REG_OPTION
impl Sync for REG_OPTION
impl Unpin for REG_OPTION
impl UnwindSafe for REG_OPTION
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