[][src]Struct rustc_parse::parser::SeqSep

struct SeqSep {
    sep: Option<TokenKind>,
    trailing_sep_allowed: bool,
}

A sequence separator.

Fields

sep: Option<TokenKind>

The separator token.

trailing_sep_allowed: bool

true if a trailing separator is allowed.

Implementations

impl SeqSep[src]

fn trailing_allowed(t: TokenKind) -> SeqSep[src]

fn none() -> SeqSep[src]

Auto Trait Implementations

impl !RefUnwindSafe for SeqSep[src]

impl !Send for SeqSep[src]

impl !Sync for SeqSep[src]

impl Unpin for SeqSep[src]

impl !UnwindSafe for SeqSep[src]

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<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.