[][src]Enum bracket_parse::tail::Tail

pub enum Tail<'a> {
    Rest(&'a [Bracket]),
    Empty,
}

Variants

Empty

Implementations

impl<'a> Tail<'a>[src]

pub fn head(&'a self) -> &'a Bracket[src]

pub fn tail(&'a self) -> Tail<'a>[src]

pub fn tail_n(&'a self, n: usize) -> Tail<'a>[src]

pub fn tail_h(&'a self, n: usize) -> &'a Bracket[src]

pub fn head_tail(&'a self) -> (&'a Bracket, Tail<'a>)[src]

Trait Implementations

impl<'a> IntoIterator for Tail<'a>[src]

type Item = &'a Bracket

The type of the elements being iterated over.

type IntoIter = Iter<'a, Bracket>

Which kind of iterator are we turning this into?

Auto Trait Implementations

impl<'a> RefUnwindSafe for Tail<'a>

impl<'a> Send for Tail<'a>

impl<'a> Sync for Tail<'a>

impl<'a> Unpin for Tail<'a>

impl<'a> UnwindSafe for Tail<'a>

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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.