[][src]Trait indented_blocks::indention::IntoUnindented

pub trait IntoUnindented {
    type Output;
    fn into_unindented(self) -> Self::Output;
}

Helper trait for "stripping indention" from an object reference

Associated Types

type Output

Loading content...

Required methods

fn into_unindented(self) -> Self::Output

Returns a reference to the unindented part of Self

Loading content...

Implementors

impl<'ast, T, F, O> IntoUnindented for View<'ast, T, F> where
    T: 'ast,
    F: ViewFn<&'ast T, Output = O>,
    O: IntoUnindented + 'ast, 
[src]

type Output = View<'ast, T, MapViewFn<F, fn(_: F::Output) -> O::Output>>

impl<'ast, T: 'ast> IntoUnindented for &'ast Indented<T>[src]

type Output = &'ast T

impl<'ast, T: 'ast> IntoUnindented for &'ast Block<T> where
    &'ast T: IntoUnindented
[src]

type Output = View<'ast, T, fn(_: &'ast T) -> <&'ast T as IntoUnindented>::Output>

Loading content...