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§