pub trait Inspectable {
// Required method
fn record<I>(&self, inspector: &mut I)
where I: Inspector;
}
Expand description
A trait that allows a type to record its fields to an inspector
.
This trait is used for types that are exposed to Inspector
s many times
so recording them can be deduplicated.
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.