pub struct StaticTextToken {
pub text: String,
pub token_index: usize,
pub span: SourceSpan,
}Fields§
§text: String§token_index: usize§span: SourceSpanTrait Implementations§
Source§impl Clone for StaticTextToken
impl Clone for StaticTextToken
Source§fn clone(&self) -> StaticTextToken
fn clone(&self) -> StaticTextToken
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 Debug for StaticTextToken
impl Debug for StaticTextToken
Source§impl PartialEq for StaticTextToken
impl PartialEq for StaticTextToken
impl Eq for StaticTextToken
impl StructuralPartialEq for StaticTextToken
Auto Trait Implementations§
impl Freeze for StaticTextToken
impl RefUnwindSafe for StaticTextToken
impl Send for StaticTextToken
impl Sync for StaticTextToken
impl Unpin for StaticTextToken
impl UnsafeUnpin for StaticTextToken
impl UnwindSafe for StaticTextToken
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