Struct r_core::r_cons_t[][src]

#[repr(C)]
pub struct r_cons_t {
Show 66 fields pub context: *mut RConsContext, pub lastline: *mut c_char, pub is_html: bool, pub was_html: bool, pub lines: c_int, pub rows: c_int, pub echo: c_int, pub fps: c_int, pub columns: c_int, pub force_rows: c_int, pub force_columns: c_int, pub fix_rows: c_int, pub fix_columns: c_int, pub break_lines: bool, pub noflush: c_int, pub optimize: c_int, pub show_autocomplete_widget: bool, pub fdin: *mut FILE, pub fdout: c_int, pub teefile: *const c_char, pub user_fgets: Option<unsafe extern "C" fn(buf: *mut c_char, len: c_int) -> c_int>, pub event_resize: RConsEvent, pub event_data: *mut c_void, pub mouse_event: c_int, pub cb_editor: RConsEditorCallback, pub cb_break: RConsBreakCallback, pub cb_sleep_begin: RConsSleepBeginCallback, pub cb_sleep_end: RConsSleepEndCallback, pub cb_click: RConsClickCallback, pub cb_task_oneshot: RConsQueueTaskOneshot, pub cb_fkey: RConsFunctionKey, pub user: *mut c_void, pub term_raw: termios, pub term_buf: termios, pub num: *mut RNum, pub pager: *mut c_char, pub blankline: c_int, pub highlight: *mut c_char, pub enable_highlight: bool, pub null: c_int, pub mouse: c_int, pub is_wine: c_int, pub line: *mut r_line_t, pub vline: *mut *const c_char, pub refcnt: c_int, pub newline: bool, pub vtmode: c_int, pub flush: bool, pub use_utf8: bool, pub use_utf8_curvy: bool, pub dotted_lines: bool, pub linesleep: c_int, pub pagesize: c_int, pub break_word: *mut c_char, pub break_word_len: c_int, pub timeout: c_ulonglong, pub grep_color: bool, pub grep_highlight: bool, pub use_tts: bool, pub filter: bool, pub rgbstr: Option<unsafe extern "C" fn(str_: *mut c_char, sz: size_t, addr: c_ulonglong) -> *mut c_char>, pub click_set: bool, pub click_x: c_int, pub click_y: c_int, pub show_vals: bool, pub cpos: RConsCursorPos,
}

Fields

context: *mut RConsContextlastline: *mut c_charis_html: boolwas_html: boollines: c_introws: c_intecho: c_intfps: c_intcolumns: c_intforce_rows: c_intforce_columns: c_intfix_rows: c_intfix_columns: c_intbreak_lines: boolnoflush: c_intoptimize: c_intshow_autocomplete_widget: boolfdin: *mut FILEfdout: c_intteefile: *const c_charuser_fgets: Option<unsafe extern "C" fn(buf: *mut c_char, len: c_int) -> c_int>event_resize: RConsEventevent_data: *mut c_voidmouse_event: c_intcb_editor: RConsEditorCallbackcb_break: RConsBreakCallbackcb_sleep_begin: RConsSleepBeginCallbackcb_sleep_end: RConsSleepEndCallbackcb_click: RConsClickCallbackcb_task_oneshot: RConsQueueTaskOneshotcb_fkey: RConsFunctionKeyuser: *mut c_voidterm_raw: termiosterm_buf: termiosnum: *mut RNumpager: *mut c_charblankline: c_inthighlight: *mut c_charenable_highlight: boolnull: c_intmouse: c_intis_wine: c_intline: *mut r_line_tvline: *mut *const c_charrefcnt: c_intnewline: boolvtmode: c_intflush: booluse_utf8: booluse_utf8_curvy: booldotted_lines: boollinesleep: c_intpagesize: c_intbreak_word: *mut c_charbreak_word_len: c_inttimeout: c_ulonglonggrep_color: boolgrep_highlight: booluse_tts: boolfilter: boolrgbstr: Option<unsafe extern "C" fn(str_: *mut c_char, sz: size_t, addr: c_ulonglong) -> *mut c_char>click_set: boolclick_x: c_intclick_y: c_intshow_vals: boolcpos: RConsCursorPos

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.