pub trait IntoTokens<Item> {
type Tokens: Tokens<Item = Item>;
// Required method
fn into_tokens(self) -> Self::Tokens;
}Expand description
A trait that is implemented by anything which can be converted into an
object implementing the Tokens trait.
Required Associated Types§
Required Methods§
Sourcefn into_tokens(self) -> Self::Tokens
fn into_tokens(self) -> Self::Tokens
Convert self into a type which implements the Tokens interface.