AsTokens

Trait AsTokens 

Source
pub trait AsTokens {
    // Required method
    fn as_tokens(&self) -> Tokens<'_>;
}
Expand description

Convenience trait implemented for every T: AsRef<str>.

Required Methods§

Source

fn as_tokens(&self) -> Tokens<'_>

Convenient converting to tokens instance.

Implementors§

Source§

impl<'s> AsTokens for Tokens<'s>

Source§

impl<T> AsTokens for T
where T: AsRef<str>,