pub enum RustToken {
Show 14 variants
Space,
LineComment,
BlockComment,
Ident,
Keyword,
Lifetime,
Char,
String,
RawString,
Int,
Float,
Delim,
Punct,
Unknown,
}
Variants§
Space
LineComment
BlockComment
Ident
Keyword
Lifetime
Char
String
RawString
Int
Float
Delim
Punct
Unknown
Given valid C code, then this variant should never be encountered. If is is encountered, then check if an issue has already been submitted, otherwise please submit an issue.
Trait Implementations§
source§impl PartialEq<RustToken> for RustToken
impl PartialEq<RustToken> for RustToken
impl Copy for RustToken
impl Eq for RustToken
impl StructuralEq for RustToken
impl StructuralPartialEq for RustToken
Auto Trait Implementations§
impl RefUnwindSafe for RustToken
impl Send for RustToken
impl Sync for RustToken
impl Unpin for RustToken
impl UnwindSafe for RustToken
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