ModulePrimitive

Trait ModulePrimitive 

Source
pub trait ModulePrimitive: ModuleComponent { }
Expand description

A marker trait for a module component that does not emit events.

This trait allows to implement HasEvents for components like Var, List, Mapping, or any other custom component that does not emit events.

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§