Trait cvar::Value [] [src]

pub trait Value: Clone + PartialEq + Debug {
    fn parse(val: &str) -> BoxResult<Self>;
    fn to_string(&self) -> String;
}

Accepted property value types.

Functionality is duplicated to allow custom implementations for external types, eg. Option<T>.

Required Methods

Implementors