BitResize

Trait BitResize 

Source
pub trait BitResize: BitWrite {
    // Required method
    fn resize(&mut self, len: usize);
}

Required Methods§

Source

fn resize(&mut self, len: usize)

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§

Source§

impl BitResize for BitList

Implementation of the BitResize trait for BitList.

This provides methods for resizing the bit list, adjusting its logical length and ensuring that no indices beyond the new length remain in the store.