cairo_lang_defs::plugin

Trait NamedPlugin

source
pub trait NamedPlugin: Default + 'static {
    const NAME: &'static str;
}
Expand description

A trait for easier addition of macro plugins.

Required Associated Constants§

source

const NAME: &'static str

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§