pub trait BlockHeader: Default + Sized {
// Required method
unsafe fn ref_counter_update(&self, i: RefCounterUpdate) -> isize;
// Provided method
unsafe fn block<T: Object, D: Dealloc>(&mut self) -> &mut Block<T, D> { ... }
}
Required Methods§
unsafe fn ref_counter_update(&self, i: RefCounterUpdate) -> isize
Provided Methods§
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.