#[repr(C)]pub struct duckdb_bignum {
pub data: *mut u8,
pub size: idx_t,
pub is_negative: bool,
}
Expand description
! BIGNUMs are composed of a byte pointer, a size, and an is_negative
bool.
! The absolute value of the number is stored in data
in little endian format.
! You must free data
with duckdb_free
.
Fields§
§data: *mut u8
§size: idx_t
§is_negative: bool
Trait Implementations§
Source§impl Clone for duckdb_bignum
impl Clone for duckdb_bignum
Source§fn clone(&self) -> duckdb_bignum
fn clone(&self) -> duckdb_bignum
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 Debug for duckdb_bignum
impl Debug for duckdb_bignum
impl Copy for duckdb_bignum
Auto Trait Implementations§
impl Freeze for duckdb_bignum
impl RefUnwindSafe for duckdb_bignum
impl !Send for duckdb_bignum
impl !Sync for duckdb_bignum
impl Unpin for duckdb_bignum
impl UnwindSafe for duckdb_bignum
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