Struct r_core::r_line_t [−][src]
#[repr(C)]pub struct r_line_t {Show 30 fields
pub completion: RLineCompletion,
pub buffer: RLineBuffer,
pub history: RLineHistory,
pub sel_widget: *mut RSelWidget,
pub cb_history_up: RLineHistoryUpCb,
pub cb_history_down: RLineHistoryDownCb,
pub cb_editor: RLineEditorCb,
pub cb_fkey: RConsFunctionKey,
pub echo: bool,
pub prompt: *mut c_char,
pub kill_ring: *mut RList,
pub kill_ring_ptr: c_int,
pub clipboard: *mut c_char,
pub disable: bool,
pub user: *mut c_void,
pub histfilter: bool,
pub hist_up: Option<unsafe extern "C" fn(user: *mut c_void) -> c_int>,
pub hist_down: Option<unsafe extern "C" fn(user: *mut c_void) -> c_int>,
pub contents: *mut c_char,
pub zerosep: bool,
pub enable_vi_mode: bool,
pub vi_mode: c_int,
pub prompt_mode: bool,
pub prompt_type: RLinePromptType,
pub offset_hist_index: c_int,
pub file_hist_index: c_int,
pub hud: *mut RLineHud,
pub sdbshell_hist: *mut RList,
pub sdbshell_hist_iter: *mut RListIter,
pub vtmode: c_int,
}
Fields
completion: RLineCompletion
buffer: RLineBuffer
history: RLineHistory
sel_widget: *mut RSelWidget
cb_history_up: RLineHistoryUpCb
cb_history_down: RLineHistoryDownCb
cb_editor: RLineEditorCb
cb_fkey: RConsFunctionKey
echo: bool
prompt: *mut c_char
kill_ring: *mut RList
kill_ring_ptr: c_int
clipboard: *mut c_char
disable: bool
user: *mut c_void
histfilter: bool
hist_up: Option<unsafe extern "C" fn(user: *mut c_void) -> c_int>
hist_down: Option<unsafe extern "C" fn(user: *mut c_void) -> c_int>
contents: *mut c_char
zerosep: bool
enable_vi_mode: bool
vi_mode: c_int
prompt_mode: bool
prompt_type: RLinePromptType
offset_hist_index: c_int
file_hist_index: c_int
hud: *mut RLineHud
sdbshell_hist: *mut RList
sdbshell_hist_iter: *mut RListIter
vtmode: c_int
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for r_line_t
impl UnwindSafe for r_line_t
Blanket Implementations
Mutably borrows from an owned value. Read more