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.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for LazyTokenStreamimpl !Send for LazyTokenStreamimpl !Sync for LazyTokenStreamimpl Unpin for LazyTokenStreamimpl !UnwindSafe for LazyTokenStreamBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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