[][src]Trait preftool::bind::ConfigProxy

pub trait ConfigProxy<T> {
    fn bind_proxy<C: Configuration>(value: &mut T, config: &C) -> Result<()>;
}

Trait for types used as proxy for configuration to get around rust's orphaning rules.

Required methods

fn bind_proxy<C: Configuration>(value: &mut T, config: &C) -> Result<()>

Bind value based on mutable reference to original value.

Loading content...

Implementors

impl<P, T> ConfigProxy<T> for P where
    P: Options + Into<T>,
    T: Clone + Into<P>, 
[src]

Loading content...