pub struct SqlToken {
pub start: usize,
pub end: usize,
pub kind: SqlTokenKind,
}
Expand description
SQL token. Start and end are indexes in source (global) array.
Fields§
§start: usize
§end: usize
§kind: SqlTokenKind
Implementations§
Trait Implementations§
impl StructuralPartialEq for SqlToken
Auto Trait Implementations§
impl Freeze for SqlToken
impl RefUnwindSafe for SqlToken
impl Send for SqlToken
impl Sync for SqlToken
impl Unpin for SqlToken
impl UnwindSafe for SqlToken
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