pub struct Payload {
pub typ: SyntaxKind,
pub tok: usize,
pub pair: usize,
}Expand description
Stores info about the Enter or Exit syntax events
Fields§
§typ: SyntaxKindModelica production, like equation
tok: usizeindex of the corresponding token from the TokenCollection
pair: usizeindex of the corresponding opposite event in the events list
Trait Implementations§
source§impl PartialEq for Payload
impl PartialEq for Payload
impl StructuralPartialEq for Payload
Auto Trait Implementations§
impl RefUnwindSafe for Payload
impl Send for Payload
impl Sync for Payload
impl Unpin for Payload
impl UnwindSafe for Payload
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