pub trait Rusty {
type Parent;
// Required method
fn code(&self, parent: &Self::Parent) -> WrapperResult<TokenStream>;
}Required Associated Types§
Required Methods§
fn code(&self, parent: &Self::Parent) -> WrapperResult<TokenStream>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".