pub trait BehaviorBase {
type Base;
// Required method
fn base(&self) -> &Self::Base;
}Expand description
Static projection from a composed behavior to its authored base behavior.
Wrappers preserve this associated type, so inspection never depends on wrapper nesting depth or a positional path.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".