pub trait ToTokens {
    fn to_tokens<S: TokenStream>(&self, s: &mut S) -> Result<(), S::Error>;

    fn to_fmt(&self, f: &mut Formatter<'_>) -> Result { ... }
}

Required Methods

Provided Methods

Implementations on Foreign Types

Implementors