pub trait Render {
type Base;
type Data: Default;
// Required methods
fn create(
base: &Self::Base,
parent: &Node,
name: impl AsRef<str>,
) -> Self::Data;
fn update(base: &Self::Base, data: &mut Self::Data);
}
Expand description
Renders inspect state. This trait should be implemented with a relevant constraint on the base type.
Required Associated Types§
Required Methods§
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.