pub enum TokenKey {
Dummy,
DummySn(usize),
Sn(usize, TokenRange),
String(String, TokenRange),
}Variants§
Trait Implementations§
Source§impl ReadTokenRange for TokenKey
impl ReadTokenRange for TokenKey
fn range(&self) -> TokenRange
impl Eq for TokenKey
impl StructuralPartialEq for TokenKey
Auto Trait Implementations§
impl Freeze for TokenKey
impl RefUnwindSafe for TokenKey
impl Send for TokenKey
impl Sync for TokenKey
impl Unpin for TokenKey
impl UnwindSafe for TokenKey
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)