pub struct NullBitmap<T, U: AsRef<[u8]> = Vec<u8>>(/* private fields */);Expand description
Implementations§
Source§impl<T: SerializationSide> NullBitmap<T, Vec<u8>>
impl<T: SerializationSide> NullBitmap<T, Vec<u8>>
Source§impl<T: SerializationSide, U: AsRef<[u8]>> NullBitmap<T, U>
impl<T: SerializationSide, U: AsRef<[u8]>> NullBitmap<T, U>
pub fn bitmap_len(num_columns: usize) -> usize
Sourcepub fn from_bytes(bytes: U) -> Self
pub fn from_bytes(bytes: U) -> Self
Creates new null-bitmap from given bytes.
Trait Implementations§
Source§impl<T: Clone, U: Clone + AsRef<[u8]>> Clone for NullBitmap<T, U>
impl<T: Clone, U: Clone + AsRef<[u8]>> Clone for NullBitmap<T, U>
Source§fn clone(&self) -> NullBitmap<T, U>
fn clone(&self) -> NullBitmap<T, U>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de, T: SerializationSide> MyDeserialize<'de> for NullBitmap<T, Cow<'de, [u8]>>
impl<'de, T: SerializationSide> MyDeserialize<'de> for NullBitmap<T, Cow<'de, [u8]>>
impl<T: Eq, U: Eq + AsRef<[u8]>> Eq for NullBitmap<T, U>
impl<T, U: AsRef<[u8]>> StructuralPartialEq for NullBitmap<T, U>
Auto Trait Implementations§
impl<T, U> Freeze for NullBitmap<T, U>where
U: Freeze,
impl<T, U> RefUnwindSafe for NullBitmap<T, U>where
U: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, U> Send for NullBitmap<T, U>
impl<T, U> Sync for NullBitmap<T, U>
impl<T, U> Unpin for NullBitmap<T, U>
impl<T, U> UnwindSafe for NullBitmap<T, U>where
U: UnwindSafe,
T: UnwindSafe,
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