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

Implementations on Foreign Types

impl ToRegValue for String
[src]

impl<'a> ToRegValue for &'a str
[src]

impl<'a> ToRegValue for &'a OsStr
[src]

impl ToRegValue for u32
[src]

impl ToRegValue for u64
[src]

Implementors