Struct rustc_ast::tokenstream::LazyTokenStream [−][src]
pub struct LazyTokenStream(Lrc<Box<dyn CreateTokenStream>>);
Expand description
A lazy version of TokenStream
, which defers creation
of an actual TokenStream
until it is needed.
Box
is here only to reduce the structure size.
Tuple Fields
0: Lrc<Box<dyn CreateTokenStream>>
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for LazyTokenStream
impl !Send for LazyTokenStream
impl !Sync for LazyTokenStream
impl Unpin for LazyTokenStream
impl !UnwindSafe for LazyTokenStream
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes