pub struct Token {
pub tok: Tok,
pub pos: Pos,
pub area_a: bool,
pub spelled: Option<String>,
pub after_comma: bool,
pub messages: Vec<Error>,
}Fields§
§tok: Tok§pos: Pos§area_a: boolStarts in area A (columns 8 to 11), where division, section and paragraph headers go.
spelled: Option<String>A word as the source spells it, where that is not all capitals.
after_comma: boolA separator comma or semicolon comes between this token and the one before it.
messages: Vec<Error>Messages about the token that do not stop the parse.
Trait Implementations§
impl Eq for Token
impl StructuralPartialEq for Token
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnsafeUnpin for Token
impl UnwindSafe for Token
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