Trait winreg::types::ToRegValue
[−]
[src]
pub trait ToRegValue { fn to_reg_value(&self) -> RegValue; }
A trait for types that can be written into registry values.
NOTE: Adds trailing NULL
character to str
and String
values
but not to OsStr
values.
Required Methods
fn to_reg_value(&self) -> RegValue
Implementations on Foreign Types
impl ToRegValue for String
[src]
impl ToRegValue for String
fn to_reg_value(&self) -> RegValue
[src]
fn to_reg_value(&self) -> RegValue
impl<'a> ToRegValue for &'a str
[src]
impl<'a> ToRegValue for &'a str
fn to_reg_value(&self) -> RegValue
[src]
fn to_reg_value(&self) -> RegValue
impl<'a> ToRegValue for &'a OsStr
[src]
impl<'a> ToRegValue for &'a OsStr
fn to_reg_value(&self) -> RegValue
[src]
fn to_reg_value(&self) -> RegValue
impl ToRegValue for u32
[src]
impl ToRegValue for u32
fn to_reg_value(&self) -> RegValue
[src]
fn to_reg_value(&self) -> RegValue
impl ToRegValue for u64
[src]
impl ToRegValue for u64
fn to_reg_value(&self) -> RegValue
[src]
fn to_reg_value(&self) -> RegValue