[][src]Struct miau::configuration::ConfigurationDefinitionLens

pub struct ConfigurationDefinitionLens<'config> { /* fields omitted */ }

Borrowed version of ConfigurationDefinition

Implementations

impl<'config> ConfigurationDefinitionLens<'config>[src]

pub fn mutate<F>(&self, func: F) -> Self where
    F: Fn(&'config ConfigurationTree) -> Option<&'config ConfigurationTree>, 
[src]

Returns new ConfigurationDefinitionLens with func applied to node.

It is mainly meant as a way to abstract away lensing into further parts of coniguration tree.

Trait Implementations

impl<'config> Debug for ConfigurationDefinitionLens<'config>[src]

impl<'config> From<&'config ConfigurationDefinition> for ConfigurationDefinitionLens<'config>[src]

Auto Trait Implementations

impl<'config> RefUnwindSafe for ConfigurationDefinitionLens<'config>[src]

impl<'config> Send for ConfigurationDefinitionLens<'config>[src]

impl<'config> Sync for ConfigurationDefinitionLens<'config>[src]

impl<'config> Unpin for ConfigurationDefinitionLens<'config>[src]

impl<'config> UnwindSafe for ConfigurationDefinitionLens<'config>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.