Struct libduckdb_sys::duckdb_hugeint
source · #[repr(C)]pub struct duckdb_hugeint {
pub lower: u64,
pub upper: i64,
}
Expand description
! Hugeints are composed of a (lower, upper) component ! The value of the hugeint is upper * 2^64 + lower ! For easy usage, the functions duckdb_hugeint_to_double/duckdb_double_to_hugeint are recommended
Fields§
§lower: u64
§upper: i64
Trait Implementations§
source§impl Clone for duckdb_hugeint
impl Clone for duckdb_hugeint
source§fn clone(&self) -> duckdb_hugeint
fn clone(&self) -> duckdb_hugeint
Returns a copy 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_hugeint
impl Debug for duckdb_hugeint
impl Copy for duckdb_hugeint
Auto Trait Implementations§
impl Freeze for duckdb_hugeint
impl RefUnwindSafe for duckdb_hugeint
impl Send for duckdb_hugeint
impl Sync for duckdb_hugeint
impl Unpin for duckdb_hugeint
impl UnwindSafe for duckdb_hugeint
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