Struct syntax::parse::token::LazyTokenStream
[−]
[src]
pub struct LazyTokenStream(_);
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Methods
impl LazyTokenStream
[src]
impl LazyTokenStream
pub fn new() -> Self
[src]
pub fn new() -> Self
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn force<F: FnOnce() -> TokenStream>(&self, f: F) -> TokenStream
[src]
pub fn force<F: FnOnce() -> TokenStream>(&self, f: F) -> TokenStream
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl Clone for LazyTokenStream
[src]
impl Clone for LazyTokenStream
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Eq for LazyTokenStream
[src]
impl Eq for LazyTokenStream
impl PartialEq for LazyTokenStream
[src]
impl PartialEq for LazyTokenStream
fn eq(&self, _other: &LazyTokenStream) -> bool
[src]
fn eq(&self, _other: &LazyTokenStream) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Debug for LazyTokenStream
[src]
impl Debug for LazyTokenStream
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Encodable for LazyTokenStream
[src]
impl Encodable for LazyTokenStream
fn encode<S: Encoder>(&self, _: &mut S) -> Result<(), S::Error>
[src]
fn encode<S: Encoder>(&self, _: &mut S) -> Result<(), S::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Decodable for LazyTokenStream
[src]
impl Decodable for LazyTokenStream
fn decode<D: Decoder>(_: &mut D) -> Result<LazyTokenStream, D::Error>
[src]
fn decode<D: Decoder>(_: &mut D) -> Result<LazyTokenStream, D::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Hash for LazyTokenStream
[src]
impl Hash for LazyTokenStream
Auto Trait Implementations
impl !Send for LazyTokenStream
impl !Send for LazyTokenStream
impl !Sync for LazyTokenStream
impl !Sync for LazyTokenStream