pub enum RegistryKey {
Integer32(i32),
Integer64(i64),
Integer128(i128),
UInteger32(u32),
UInteger64(u64),
UInteger128(u128),
String(String),
}Expand description
A registry key.
Variants§
Integer32(i32)
A 32bit signed integer key.
Integer64(i64)
A 64bit signed integer key.
Integer128(i128)
A 128bit signed integer key.
UInteger32(u32)
A 32bit unsigned integer key.
UInteger64(u64)
A 64bit unsigned integer key.
UInteger128(u128)
A 128bit unsigned integer key.
String(String)
A string key.
Trait Implementations§
Source§impl Clone for RegistryKey
impl Clone for RegistryKey
Source§fn clone(&self) -> RegistryKey
fn clone(&self) -> RegistryKey
Returns a duplicate 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 RegistryKey
impl Debug for RegistryKey
Source§impl<'de> Deserialize<'de> for RegistryKey
impl<'de> Deserialize<'de> for RegistryKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&str> for RegistryKey
impl From<&str> for RegistryKey
Source§impl From<String> for RegistryKey
impl From<String> for RegistryKey
Source§impl From<i128> for RegistryKey
impl From<i128> for RegistryKey
Source§impl From<i32> for RegistryKey
impl From<i32> for RegistryKey
Source§impl From<i64> for RegistryKey
impl From<i64> for RegistryKey
Source§impl From<u128> for RegistryKey
impl From<u128> for RegistryKey
Source§impl From<u32> for RegistryKey
impl From<u32> for RegistryKey
Source§impl From<u64> for RegistryKey
impl From<u64> for RegistryKey
Source§impl Hash for RegistryKey
impl Hash for RegistryKey
Source§impl Ord for RegistryKey
impl Ord for RegistryKey
Source§fn cmp(&self, other: &RegistryKey) -> Ordering
fn cmp(&self, other: &RegistryKey) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RegistryKey
impl PartialEq for RegistryKey
Source§impl PartialOrd for RegistryKey
impl PartialOrd for RegistryKey
Source§impl Serialize for RegistryKey
impl Serialize for RegistryKey
impl Eq for RegistryKey
impl StructuralPartialEq for RegistryKey
Auto Trait Implementations§
impl Freeze for RegistryKey
impl RefUnwindSafe for RegistryKey
impl Send for RegistryKey
impl Sync for RegistryKey
impl Unpin for RegistryKey
impl UnwindSafe for RegistryKey
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