#[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 RConsContext
§lastline: *mut c_char
§is_html: bool
§was_html: bool
§lines: c_int
§rows: c_int
§echo: c_int
§fps: c_int
§columns: c_int
§force_rows: c_int
§force_columns: c_int
§fix_rows: c_int
§fix_columns: c_int
§break_lines: bool
§noflush: c_int
§optimize: c_int
§show_autocomplete_widget: bool
§fdin: *mut FILE
§fdout: c_int
§teefile: *const c_char
§user_fgets: Option<unsafe extern "C" fn(buf: *mut c_char, len: c_int) -> c_int>
§event_resize: RConsEvent
§event_data: *mut c_void
§mouse_event: c_int
§cb_editor: RConsEditorCallback
§cb_break: RConsBreakCallback
§cb_sleep_begin: RConsSleepBeginCallback
§cb_sleep_end: RConsSleepEndCallback
§cb_click: RConsClickCallback
§cb_task_oneshot: RConsQueueTaskOneshot
§cb_fkey: RConsFunctionKey
§user: *mut c_void
§term_raw: termios
§term_buf: termios
§num: *mut RNum
§pager: *mut c_char
§blankline: c_int
§highlight: *mut c_char
§enable_highlight: bool
§null: c_int
§mouse: c_int
§is_wine: c_int
§line: *mut r_line_t
§vline: *mut *const c_char
§refcnt: c_int
§newline: bool
§vtmode: c_int
§flush: bool
§use_utf8: bool
§use_utf8_curvy: bool
§dotted_lines: bool
§linesleep: c_int
§pagesize: c_int
§break_word: *mut c_char
§break_word_len: c_int
§timeout: c_ulonglong
§grep_color: bool
§grep_highlight: bool
§use_tts: bool
§filter: bool
§rgbstr: Option<unsafe extern "C" fn(str_: *mut c_char, sz: size_t, addr: c_ulonglong) -> *mut c_char>
§click_set: bool
§click_x: c_int
§click_y: c_int
§show_vals: bool
§cpos: RConsCursorPos
Trait Implementations§
Auto Trait Implementations§
impl Freeze for r_cons_t
impl RefUnwindSafe for r_cons_t
impl !Send for r_cons_t
impl !Sync for r_cons_t
impl Unpin for r_cons_t
impl UnwindSafe for r_cons_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