pub trait Ctx {
// Required method
fn base(&self) -> *const u8;
// Provided methods
fn ctrl<'a>(&self, buckets: usize) -> &'a [Tag] { ... }
fn bucket<'a, T>(&self, index: usize) -> &'a T { ... }
}
Required Methods§
Provided Methods§
fn ctrl<'a>(&self, buckets: usize) -> &'a [Tag]
fn bucket<'a, T>(&self, index: usize) -> &'a T
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.