Enum rustc_ap_rustc_ast::token::DelimToken [−][src]
pub enum DelimToken { Paren, Bracket, Brace, NoDelim, }
Expand description
A delimiter token.
Variants
A round parenthesis (i.e., (
or )
).
A square bracket (i.e., [
or ]
).
A curly brace (i.e., {
or }
).
An empty delimiter.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DelimToken
impl Send for DelimToken
impl Sync for DelimToken
impl Unpin for DelimToken
impl UnwindSafe for DelimToken
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V