[−][src]Struct indented_blocks::Block
Fields
head: S
subs: Vec<Block<S>>
Implementations
impl<A> Block<A>
[src]
pub fn map_ref<B, F>(&self, f: F) -> Block<B> where
F: FnMut(&A) -> B,
[src]
F: FnMut(&A) -> B,
pub fn map<B, F>(self, f: F) -> Block<B> where
F: FnMut(A) -> B,
[src]
F: FnMut(A) -> B,
impl<'a, T: ToOwned> Block<&'a T>
[src]
Trait Implementations
impl<S: Clone> Clone for Block<S>
[src]
fn clone(&self) -> Block<S>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S: Debug> Debug for Block<S>
[src]
impl<'ast, T: 'ast> IntoUnindented for &'ast Block<T> where
&'ast T: IntoUnindented,
[src]
&'ast T: IntoUnindented,
type Output = View<'ast, T, fn(_: &'ast T) -> <&'ast T as IntoUnindented>::Output>
fn into_unindented(self) -> Self::Output
[src]
Auto Trait Implementations
impl<S> Send for Block<S> where
S: Send,
S: Send,
impl<S> Sync for Block<S> where
S: Sync,
S: Sync,
impl<S> Unpin for Block<S> where
S: Unpin,
S: 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>,