[−][src]Struct miau::configuration::ConfigurationDefinitionLens
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]
F: Fn(&'config ConfigurationTree) -> Option<&'config ConfigurationTree>,
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]
pub fn from(root_def: &'config ConfigurationDefinition) -> Self
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,