pub struct ShellPromptState;Implementations§
Source§impl ShellPromptState
impl ShellPromptState
pub fn get_current_dir( provided_current_dir: Option<PathBuf>, ) -> Result<CurrentDirState>
Trait Implementations§
Source§impl Clone for ShellPromptState
impl Clone for ShellPromptState
Source§fn clone(&self) -> ShellPromptState
fn clone(&self) -> ShellPromptState
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 ShellPromptState
impl Debug for ShellPromptState
Source§impl Default for ShellPromptState
impl Default for ShellPromptState
Source§fn default() -> ShellPromptState
fn default() -> ShellPromptState
Returns the “default value” for a type. Read more
impl Copy for ShellPromptState
Auto Trait Implementations§
impl Freeze for ShellPromptState
impl RefUnwindSafe for ShellPromptState
impl Send for ShellPromptState
impl Sync for ShellPromptState
impl Unpin for ShellPromptState
impl UnwindSafe for ShellPromptState
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