pub trait Based {
type Base: ?Sized;
// Required methods
fn base(&self) -> &Self::Base;
fn base_mut(&mut self) -> &mut Self::Base;
}Expand description
Trait that should be implemented by ring buffer wrappers.
Used for automatically delegating methods.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".