Enum 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
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Paren
: 0 bytesBracket
: 0 bytesBrace
: 0 bytesNoDelim
: 0 bytes