pub struct SourceTokens {
pub source_id: String,
pub tokens: Vec<Token>,
}Expand description
Tokens from a single source file, ready for clone detection.
Fields§
§source_id: String§tokens: Vec<Token>Implementations§
Trait Implementations§
Source§impl Clone for SourceTokens
impl Clone for SourceTokens
Source§fn clone(&self) -> SourceTokens
fn clone(&self) -> SourceTokens
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 moreAuto Trait Implementations§
impl Freeze for SourceTokens
impl RefUnwindSafe for SourceTokens
impl Send for SourceTokens
impl Sync for SourceTokens
impl Unpin for SourceTokens
impl UnsafeUnpin for SourceTokens
impl UnwindSafe for SourceTokens
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