Struct r_core::r_num_t [−][src]
#[repr(C)]pub struct r_num_t {
pub callback: Option<unsafe extern "C" fn(userptr: *mut r_num_t, str_: *const c_char, ok: *mut c_int) -> c_ulonglong>,
pub cb_from_value: Option<unsafe extern "C" fn(userptr: *mut r_num_t, value: c_ulonglong, ok: *mut c_int) -> *const c_char>,
pub value: c_ulonglong,
pub fvalue: f64,
pub userptr: *mut c_void,
pub dbz: c_int,
pub nc: RNumCalc,
}
Fields
callback: Option<unsafe extern "C" fn(userptr: *mut r_num_t, str_: *const c_char, ok: *mut c_int) -> c_ulonglong>
cb_from_value: Option<unsafe extern "C" fn(userptr: *mut r_num_t, value: c_ulonglong, ok: *mut c_int) -> *const c_char>
value: c_ulonglong
fvalue: f64
userptr: *mut c_void
dbz: c_int
nc: RNumCalc
division by zero happened
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for r_num_t
impl UnwindSafe for r_num_t
Blanket Implementations
Mutably borrows from an owned value. Read more