Struct r_core::r_fs_shell_t [−][src]
#[repr(C)]pub struct r_fs_shell_t {
pub cwd: *mut *mut c_char,
pub set_prompt: Option<unsafe extern "C" fn(prompt: *const c_char)>,
pub readline: Option<unsafe extern "C" fn() -> *const c_char>,
pub hist_add: Option<unsafe extern "C" fn(line: *const c_char) -> c_int>,
}
Fields
cwd: *mut *mut c_char
set_prompt: Option<unsafe extern "C" fn(prompt: *const c_char)>
readline: Option<unsafe extern "C" fn() -> *const c_char>
hist_add: Option<unsafe extern "C" fn(line: *const c_char) -> c_int>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for r_fs_shell_t
impl !Send for r_fs_shell_t
impl !Sync for r_fs_shell_t
impl Unpin for r_fs_shell_t
impl UnwindSafe for r_fs_shell_t
Blanket Implementations
Mutably borrows from an owned value. Read more