cairo_lang_defs::plugin_utils

Trait PluginResultTrait

source
pub trait PluginResultTrait {
    // Required method
    fn diagnostic_only(diagnostic: PluginDiagnostic) -> Self;
}
Expand description

Trait providing a consistent interface for the result of a macro plugins.

Required Methods§

source

fn diagnostic_only(diagnostic: PluginDiagnostic) -> Self

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.

Implementors§