Enum cl_token::token_type::Punct
source · pub enum Punct {
Show 54 variants
LCurly,
RCurly,
LBrack,
RBrack,
LParen,
RParen,
Amp,
AmpAmp,
AmpEq,
Arrow,
At,
Backslash,
Bang,
BangBang,
BangEq,
Bar,
BarBar,
BarEq,
Colon,
ColonColon,
Comma,
Dot,
DotDot,
DotDotEq,
Eq,
EqEq,
FatArrow,
Grave,
Gt,
GtEq,
GtGt,
GtGtEq,
Hash,
HashBang,
Lt,
LtEq,
LtLt,
LtLtEq,
Minus,
MinusEq,
Plus,
PlusEq,
Question,
Rem,
RemEq,
Semi,
Slash,
SlashEq,
Star,
StarEq,
Tilde,
Xor,
XorEq,
XorXor,
}
Expand description
An operator character (delimiter, punctuation)
Variants§
LCurly
RCurly
LBrack
RBrack
LParen
RParen
Amp
AmpAmp
AmpEq
Arrow
At
Backslash
Bang
BangBang
BangEq
Bar
BarBar
BarEq
Colon
ColonColon
Comma
Dot
DotDot
DotDotEq
Eq
EqEq
FatArrow
Grave
Gt
GtEq
GtGt
GtGtEq
Hash
HashBang
Lt
LtEq
LtLt
LtLtEq
Minus
MinusEq
Plus
PlusEq
Question
Rem
RemEq
Semi
Slash
SlashEq
Star
StarEq
Tilde
Xor
XorEq
XorXor
Trait Implementations§
source§impl PartialEq for Punct
impl PartialEq for Punct
impl Copy for Punct
impl Eq for Punct
impl StructuralPartialEq for Punct
Auto Trait Implementations§
impl Freeze for Punct
impl RefUnwindSafe for Punct
impl Send for Punct
impl Sync for Punct
impl Unpin for Punct
impl UnwindSafe for Punct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more