pub enum FullToken {
}
Variants§
Punct(LiveId)
Ident(LiveId)
Open(Delim)
Close(Delim)
String(Rc<String>)
Bool(bool)
Color(u32)
Float(f64)
Int(i64)
OtherNumber
Lifetime
Comment
Whitespace
Unknown
Implementations§
source§impl FullToken
impl FullToken
pub fn is_whitespace(&self) -> bool
pub fn is_comment(&self) -> bool
pub fn is_ws_or_comment(&self) -> bool
pub fn is_open(&self) -> bool
pub fn is_close(&self) -> bool
pub fn is_open_delim(&self, delim: Delim) -> bool
pub fn is_close_delim(&self, delim: Delim) -> bool
pub fn is_int(&self) -> bool
pub fn is_float(&self) -> bool
pub fn is_color(&self) -> bool
pub fn is_parsed_number(&self) -> bool
pub fn is_bool(&self) -> bool
pub fn is_value_type(&self) -> bool
pub fn is_ident(&self) -> bool
pub fn is_punct(&self) -> bool
pub fn is_punct_id(&self, id: LiveId) -> bool
Trait Implementations§
source§impl PartialEq<FullToken> for FullToken
impl PartialEq<FullToken> for FullToken
impl StructuralPartialEq for FullToken
Auto Trait Implementations§
impl RefUnwindSafe for FullToken
impl !Send for FullToken
impl !Sync for FullToken
impl Unpin for FullToken
impl UnwindSafe for FullToken
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