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

pub(in parser) 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]

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

pub(in parser) fn none(
) -> SeqSep
[src]

Auto Trait Implementations

impl !RefUnwindSafe for SeqSep

impl !Send for SeqSep

impl !Sync for SeqSep

impl Unpin for SeqSep

impl !UnwindSafe for SeqSep

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.