#[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_void§iob: RIOBind§pava: bool§coreb: RCoreBind§cfmt: *const c_char§datefmt: [c_char; 32]§datezone: c_int§write: Option<unsafe extern "C" fn(buf: *const c_uchar, len: c_int) -> c_int>§cb_printf: PrintfCallback§cb_eprintf: PrintfCallback§cb_color: Option<unsafe extern "C" fn(idx: c_int, last: c_int, bg: bool) -> *mut c_char>§scr_prompt: bool§disasm: Option<unsafe extern "C" fn(p: *mut c_void, addr: c_ulonglong) -> c_int>§oprintf: PrintfCallback§big_endian: c_int§width: c_int§limit: c_int§bits: c_int§histblock: bool§cur_enabled: bool§cur: c_int§ocur: c_int§cols: c_int§flags: c_int§seggrn: c_int§use_comments: bool§addrmod: c_int§col: c_int§stride: c_int§bytespace: c_int§pairs: c_int§resetbg: bool§zoom: *mut RPrintZoom§offname: RPrintNameCallback§offsize: RPrintSizeCallback§colorfor: RPrintColorFor§hasrefs: RPrintHasRefs§get_comments: RPrintCommentCallback§get_section_name: RPrintSectionGet§formats: *mut Sdb§sdb_types: *mut Sdb§cons: *mut RCons§consbind: RConsBind§num: *mut RNum§reg: *mut RReg§get_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_ulonglong§lines_cache_sz: c_int§lines_abs: c_int§esc_bslash: bool§wide_offsets: bool§strconv_mode: *const c_char§vars: *mut RList§io_unalloc_ch: c_char§show_offset: bool§calc_row_offsets: bool§row_offsets: *mut c_uint§row_offsets_sz: c_int§vflush: bool§screen_bounds: c_ulonglong§enable_progressbar: bool§charset: *mut RCharsetTrait Implementations§
Auto Trait Implementations§
impl Freeze for r_print_t
impl RefUnwindSafe for r_print_t
impl !Send for r_print_t
impl !Sync for r_print_t
impl Unpin for r_print_t
impl UnwindSafe for r_print_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