struct Reader<'span, ST: SpanTransformer, R: ReaderTrait<ST::Span>> {
version: u32,
subtree: Vec<SubtreeRepr>,
literal: Vec<LiteralRepr>,
punct: Vec<PunctRepr>,
ident: Vec<IdentRepr>,
token_tree: Vec<u32>,
text: Vec<String>,
span_data_table: &'span ST::Table,
_marker: PhantomData<R>,
}Fields§
§version: u32§subtree: Vec<SubtreeRepr>§literal: Vec<LiteralRepr>§punct: Vec<PunctRepr>§ident: Vec<IdentRepr>§token_tree: Vec<u32>§text: Vec<String>§span_data_table: &'span ST::Table§_marker: PhantomData<R>Implementations§
Auto Trait Implementations§
impl<'span, ST, R> Freeze for Reader<'span, ST, R>
impl<'span, ST, R> RefUnwindSafe for Reader<'span, ST, R>
impl<'span, ST, R> Send for Reader<'span, ST, R>
impl<'span, ST, R> Sync for Reader<'span, ST, R>
impl<'span, ST, R> Unpin for Reader<'span, ST, R>where
R: Unpin,
impl<'span, ST, R> UnsafeUnpin for Reader<'span, ST, R>
impl<'span, ST, R> UnwindSafe for Reader<'span, ST, R>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more