Trait yap::IntoTokens
source · pub trait IntoTokens<Item> {
type Tokens: Tokens<Item = Item>;
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.