pub trait Bake {
// Required method
fn to_stream(&self) -> TokenStream;
// Provided method
fn to_token_tree(&self) -> TokenTree { ... }
}Required Methods§
Sourcefn to_stream(&self) -> TokenStream
fn to_stream(&self) -> TokenStream
Return a TokenStream the produces an equivalent struct