pub trait Analyze {
type Data: Emit;
// Required method
fn analyze(items: &mut Items) -> Result<Self::Data, Error>;
}
Expand description
An analysis takes our IR and returns some kind of data results that can be emitted.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.