#[repr(C)]pub struct TokenCache {
pub token: Subtree,
pub last_external_token: Subtree,
pub byte_index: u32,
}
Fields§
§token: Subtree
§last_external_token: Subtree
§byte_index: u32
Trait Implementations§
Source§impl Clone for TokenCache
impl Clone for TokenCache
Source§fn clone(&self) -> TokenCache
fn clone(&self) -> TokenCache
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for TokenCache
Auto Trait Implementations§
impl Freeze for TokenCache
impl RefUnwindSafe for TokenCache
impl !Send for TokenCache
impl !Sync for TokenCache
impl Unpin for TokenCache
impl UnwindSafe for TokenCache
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