pub struct ExtraContext<'i> {
pub tokens: Tokens<'i>,
}Fields§
§tokens: Tokens<'i>Implementations§
Trait Implementations§
Source§impl<'i> Clone for ExtraContext<'i>
impl<'i> Clone for ExtraContext<'i>
Source§fn clone(&self) -> ExtraContext<'i>
fn clone(&self) -> ExtraContext<'i>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'i> Debug for ExtraContext<'i>
impl<'i> Debug for ExtraContext<'i>
Source§impl<'i> Default for ExtraContext<'i>
impl<'i> Default for ExtraContext<'i>
Source§impl<'i> From<Tokens<'i>> for ExtraContext<'i>
impl<'i> From<Tokens<'i>> for ExtraContext<'i>
Source§impl<'i> PartialEq for ExtraContext<'i>
impl<'i> PartialEq for ExtraContext<'i>
Source§fn eq(&self, other: &ExtraContext<'i>) -> bool
fn eq(&self, other: &ExtraContext<'i>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'i> StructuralPartialEq for ExtraContext<'i>
Auto Trait Implementations§
impl<'i> Freeze for ExtraContext<'i>
impl<'i> RefUnwindSafe for ExtraContext<'i>
impl<'i> Send for ExtraContext<'i>
impl<'i> Sync for ExtraContext<'i>
impl<'i> Unpin for ExtraContext<'i>
impl<'i> UnsafeUnpin for ExtraContext<'i>
impl<'i> UnwindSafe for ExtraContext<'i>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> OrderedSeq<'_, T> for Twhere
T: Clone,
Source§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.