pub struct TypedToken<'a, G: TypedGrammar> { /* private fields */ }Expand description
Token value shared by typed and SQLite-specific tokenizer APIs.
Provides:
- Grammar-typed token kind.
- Exact source text slice.
Implementations§
Source§impl<'a, G: TypedGrammar> TypedToken<'a, G>
impl<'a, G: TypedGrammar> TypedToken<'a, G>
Trait Implementations§
Source§impl<'a, G: Clone + TypedGrammar> Clone for TypedToken<'a, G>
impl<'a, G: Clone + TypedGrammar> Clone for TypedToken<'a, G>
Source§fn clone(&self) -> TypedToken<'a, G>
fn clone(&self) -> TypedToken<'a, G>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a, G: Debug + TypedGrammar> Debug for TypedToken<'a, G>
impl<'a, G: Debug + TypedGrammar> Debug for TypedToken<'a, G>
impl<'a, G: Copy + TypedGrammar> Copy for TypedToken<'a, G>
Auto Trait Implementations§
impl<'a, G> Freeze for TypedToken<'a, G>
impl<'a, G> RefUnwindSafe for TypedToken<'a, G>
impl<'a, G> Send for TypedToken<'a, G>
impl<'a, G> Sync for TypedToken<'a, G>
impl<'a, G> Unpin for TypedToken<'a, G>
impl<'a, G> UnsafeUnpin for TypedToken<'a, G>
impl<'a, G> UnwindSafe for TypedToken<'a, G>
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