Type Alias mariadb_sys::decimal_t

source ·
pub type decimal_t = st_decimal_t;
Expand description

intg is the number of decimal digits (NOT number of decimal_digit_t’s !) before the point frac is the number of decimal digits after the point len is the length of buf (length of allocated space) in decimal_digit_t’s, not in bytes sign false means positive, true means negative buf is an array of decimal_digit_t’s

Aliased Type§

struct decimal_t {
    pub intg: i32,
    pub frac: i32,
    pub len: i32,
    pub sign: i8,
    pub buf: *mut i32,
}

Fields§

§intg: i32§frac: i32§len: i32§sign: i8§buf: *mut i32