#[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§
Source§impl Clone for r_fs_shell_t
impl Clone for r_fs_shell_t
Source§fn clone(&self) -> r_fs_shell_t
fn clone(&self) -> r_fs_shell_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for r_fs_shell_t
impl Debug for r_fs_shell_t
impl Copy for r_fs_shell_t
Auto Trait Implementations§
impl Freeze for r_fs_shell_t
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§
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