pub struct TokenFields {
pub kind: String,
pub text: String,
pub position: String,
pub line: Option<String>,
pub column: Option<String>,
pub length: Option<String>,
}Expand description
Common token structure fields (for documentation)
Fields§
§kind: String§text: String§position: String§line: Option<String>§column: Option<String>§length: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TokenFields
impl RefUnwindSafe for TokenFields
impl Send for TokenFields
impl Sync for TokenFields
impl Unpin for TokenFields
impl UnsafeUnpin for TokenFields
impl UnwindSafe for TokenFields
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