pub trait InstanceChild {
type ConcreteInstance: Instance;
// Required method
fn instance(&self) -> &Self::ConcreteInstance;
}Required Associated Types§
Required Methods§
fn instance(&self) -> &Self::ConcreteInstance
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".