[−][src]Struct indented_blocks::view::View
Implementations
impl<'ast, S, F> View<'ast, S, F>
[src]
impl<'ast, S: 'ast, F> View<'ast, S, F> where
F: ViewFn<&'ast S>,
[src]
F: ViewFn<&'ast S>,
pub fn head(&self) -> F::Output
[src]
pub fn map<F2, O2>(self, f2: F2) -> View<'ast, S, MapViewFn<F, F2>> where
F2: Fn(F::Output) -> O2,
[src]
F2: Fn(F::Output) -> O2,
impl<'ast, S: 'ast, F> View<'ast, S, F> where
F: Clone + ViewFn<&'ast S>,
[src]
F: Clone + ViewFn<&'ast S>,
Trait Implementations
impl<S, F: Clone, '_> Clone for View<'_, S, F>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S, F: Copy, '_> Copy for View<'_, S, F>
[src]
impl<'ast, S: Debug, F: Debug> Debug for View<'ast, S, F>
[src]
impl<'ast, T, F, O> IntoUnindented for View<'ast, T, F> where
T: 'ast,
F: ViewFn<&'ast T, Output = O>,
O: IntoUnindented + 'ast,
[src]
T: 'ast,
F: ViewFn<&'ast T, Output = O>,
O: IntoUnindented + 'ast,
Auto Trait Implementations
impl<'ast, S, F> Send for View<'ast, S, F> where
F: Send,
S: Sync,
F: Send,
S: Sync,
impl<'ast, S, F> Sync for View<'ast, S, F> where
F: Sync,
S: Sync,
F: Sync,
S: Sync,
impl<'ast, S, F> Unpin for View<'ast, S, F> where
F: Unpin,
F: Unpin,
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,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,