ToTokenIter

Trait ToTokenIter 

Source
pub trait ToTokenIter: Sized {
    // Required method
    fn to_token_iter(self) -> TokenIter ;
}
Expand description

Extension trait to convert TokenStreams into TokenIter.

Required Methods§

Source

fn to_token_iter(self) -> TokenIter

Convert this into a TokenIter.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§