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: RLineCompletionbuffer: RLineBufferhistory: RLineHistorysel_widget: *mut RSelWidgetcb_history_up: RLineHistoryUpCbcb_history_down: RLineHistoryDownCbcb_editor: RLineEditorCbcb_fkey: RConsFunctionKeyecho: boolprompt: *mut c_charkill_ring: *mut RListkill_ring_ptr: c_intclipboard: *mut c_chardisable: booluser: *mut c_voidhistfilter: boolhist_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_charzerosep: boolenable_vi_mode: boolvi_mode: c_intprompt_mode: boolprompt_type: RLinePromptTypeoffset_hist_index: c_intfile_hist_index: c_inthud: *mut RLineHudsdbshell_hist: *mut RListsdbshell_hist_iter: *mut RListItervtmode: c_int

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.