#[repr(C)]pub struct duckdb_bit {
pub data: *mut u8,
pub size: idx_t,
}
Expand description
! BITs are composed of a byte pointer and a size.
! BIT byte data has 0 to 7 bits of padding.
! The first byte contains the number of padding bits.
! This number of bits of the second byte are set to 1, starting from the MSB.
! You must free data
with duckdb_free
.
Fields§
§data: *mut u8
§size: idx_t
Trait Implementations§
Source§impl Clone for duckdb_bit
impl Clone for duckdb_bit
Source§fn clone(&self) -> duckdb_bit
fn clone(&self) -> duckdb_bit
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for duckdb_bit
impl Debug for duckdb_bit
impl Copy for duckdb_bit
Auto Trait Implementations§
impl Freeze for duckdb_bit
impl RefUnwindSafe for duckdb_bit
impl !Send for duckdb_bit
impl !Sync for duckdb_bit
impl Unpin for duckdb_bit
impl UnwindSafe for duckdb_bit
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