Struct mariadb_sys::st_decimal_t
source · #[repr(C)]pub struct st_decimal_t {
pub intg: c_int,
pub frac: c_int,
pub len: c_int,
pub sign: my_bool,
pub buf: *mut decimal_digit_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
Fields§
§intg: c_int
§frac: c_int
§len: c_int
§sign: my_bool
§buf: *mut decimal_digit_t
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for st_decimal_t
impl !Send for st_decimal_t
impl !Sync for st_decimal_t
impl Unpin for st_decimal_t
impl UnwindSafe for st_decimal_t
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