Struct options::Value
[−]
[src]
pub struct Value(_);
A parameter value.
Methods
impl Value
[src]
fn get<T: Any + Clone>(&self) -> Option<T>
Get the value.
fn get_ref<T: Any>(&self) -> Option<&T>
Get a reference to the value.
fn get_mut<T: Any>(&mut self) -> Option<&mut T>
Get a mutable reference to the value.
fn set<T: Any>(&mut self, value: T)
Set the value.