Trait ReactiveInstance

Source
pub trait ReactiveInstance<ID>:
    ReactivePropertyContainer
    + ComponentContainer
    + PropertyInstanceSetter
    + NamespacedTypeGetter
    + Display
    + Clone
    + Send
    + Sync {
    // Required method
    fn id(&self) -> ID;
}
Expand description

A reactive instance is a container for properties and components. Furthermore the reactive instance has a namespaced type.

Required Methods§

Source

fn id(&self) -> ID

Returns the id of the reactive instance.

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§