pub trait ImmutableDataInspect<T> {
    // Required method
    fn new(data: &T, manager: Node) -> Self;
}
Expand description

A trait representing the inspect data for a type T that will never be mutated. This trait allows for a simpler “fire and forget” representation of the inspect data associated with an object. This is because inspect handles for the data will never need to be accessed after creation.

Required Methods§

source

fn new(data: &T, manager: Node) -> Self

Object Safety§

This trait is not object safe.

Implementors§