Struct smallbitvec::Header
source · pub(crate) struct Header {
pub(crate) len: usize,
pub(crate) buffer_len: usize,
}
Expand description
Data stored at the start of the heap allocation.
Header
must have the same alignment as Storage
.
Fields§
§len: usize
The number of bits in this bit vector.
buffer_len: usize
The number of elements in the usize buffer that follows this header.
Implementations§
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more