Trait CtxMut

Source
pub trait CtxMut: Ctx {
    // Required method
    fn base_mut(&self) -> *mut u8;

    // Provided methods
    fn ctrl_mut(&self, buckets: usize) -> &mut [Tag] { ... }
    fn bucket_ptr(&self, index: usize, size_of: usize) -> *mut u8 { ... }
    fn bucket_ref_mut<T>(&self, index: usize) -> &mut T { ... }
}

Required Methods§

Source

fn base_mut(&self) -> *mut u8

Provided Methods§

Source

fn ctrl_mut(&self, buckets: usize) -> &mut [Tag]

Source

fn bucket_ptr(&self, index: usize, size_of: usize) -> *mut u8

Source

fn bucket_ref_mut<T>(&self, index: usize) -> &mut 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.

Implementors§