Struct r_core::r_print_t[][src]

#[repr(C)]
pub struct r_print_t {
Show 64 fields pub user: *mut c_void, pub iob: RIOBind, pub pava: bool, pub coreb: RCoreBind, pub cfmt: *const c_char, pub datefmt: [c_char; 32], pub datezone: c_int, pub write: Option<unsafe extern "C" fn(buf: *const c_uchar, len: c_int) -> c_int>, pub cb_printf: PrintfCallback, pub cb_eprintf: PrintfCallback, pub cb_color: Option<unsafe extern "C" fn(idx: c_int, last: c_int, bg: bool) -> *mut c_char>, pub scr_prompt: bool, pub disasm: Option<unsafe extern "C" fn(p: *mut c_void, addr: c_ulonglong) -> c_int>, pub oprintf: PrintfCallback, pub big_endian: c_int, pub width: c_int, pub limit: c_int, pub bits: c_int, pub histblock: bool, pub cur_enabled: bool, pub cur: c_int, pub ocur: c_int, pub cols: c_int, pub flags: c_int, pub seggrn: c_int, pub use_comments: bool, pub addrmod: c_int, pub col: c_int, pub stride: c_int, pub bytespace: c_int, pub pairs: c_int, pub resetbg: bool, pub zoom: *mut RPrintZoom, pub offname: RPrintNameCallback, pub offsize: RPrintSizeCallback, pub colorfor: RPrintColorFor, pub hasrefs: RPrintHasRefs, pub get_comments: RPrintCommentCallback, pub get_section_name: RPrintSectionGet, pub formats: *mut Sdb, pub sdb_types: *mut Sdb, pub cons: *mut RCons, pub consbind: RConsBind, pub num: *mut RNum, pub reg: *mut RReg, pub get_register: Option<unsafe extern "C" fn(reg: *mut RReg, name: *const c_char, type_: c_int) -> *mut RRegItem>, pub get_register_value: Option<unsafe extern "C" fn(reg: *mut RReg, item: *mut RRegItem) -> c_ulonglong>, pub exists_var: Option<unsafe extern "C" fn(print: *mut r_print_t, func_addr: c_ulonglong, str_: *mut c_char) -> bool>, pub lines_cache: *mut c_ulonglong, pub lines_cache_sz: c_int, pub lines_abs: c_int, pub esc_bslash: bool, pub wide_offsets: bool, pub strconv_mode: *const c_char, pub vars: *mut RList, pub io_unalloc_ch: c_char, pub show_offset: bool, pub calc_row_offsets: bool, pub row_offsets: *mut c_uint, pub row_offsets_sz: c_int, pub vflush: bool, pub screen_bounds: c_ulonglong, pub enable_progressbar: bool, pub charset: *mut RCharset,
}

Fields

user: *mut c_voidiob: RIOBindpava: boolcoreb: RCoreBindcfmt: *const c_chardatefmt: [c_char; 32]datezone: c_intwrite: Option<unsafe extern "C" fn(buf: *const c_uchar, len: c_int) -> c_int>cb_printf: PrintfCallbackcb_eprintf: PrintfCallbackcb_color: Option<unsafe extern "C" fn(idx: c_int, last: c_int, bg: bool) -> *mut c_char>scr_prompt: booldisasm: Option<unsafe extern "C" fn(p: *mut c_void, addr: c_ulonglong) -> c_int>oprintf: PrintfCallbackbig_endian: c_intwidth: c_intlimit: c_intbits: c_inthistblock: boolcur_enabled: boolcur: c_intocur: c_intcols: c_intflags: c_intseggrn: c_intuse_comments: booladdrmod: c_intcol: c_intstride: c_intbytespace: c_intpairs: c_intresetbg: boolzoom: *mut RPrintZoomoffname: RPrintNameCallbackoffsize: RPrintSizeCallbackcolorfor: RPrintColorForhasrefs: RPrintHasRefsget_comments: RPrintCommentCallbackget_section_name: RPrintSectionGetformats: *mut Sdbsdb_types: *mut Sdbcons: *mut RConsconsbind: RConsBindnum: *mut RNumreg: *mut RRegget_register: Option<unsafe extern "C" fn(reg: *mut RReg, name: *const c_char, type_: c_int) -> *mut RRegItem>get_register_value: Option<unsafe extern "C" fn(reg: *mut RReg, item: *mut RRegItem) -> c_ulonglong>exists_var: Option<unsafe extern "C" fn(print: *mut r_print_t, func_addr: c_ulonglong, str_: *mut c_char) -> bool>lines_cache: *mut c_ulonglonglines_cache_sz: c_intlines_abs: c_intesc_bslash: boolwide_offsets: boolstrconv_mode: *const c_charvars: *mut RListio_unalloc_ch: c_charshow_offset: boolcalc_row_offsets: boolrow_offsets: *mut c_uintrow_offsets_sz: c_intvflush: boolscreen_bounds: c_ulonglongenable_progressbar: boolcharset: *mut RCharset

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.