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.