pub struct CwdCarryOutcome {
pub changed: bool,
pub escaped: bool,
}Expand description
Expose applyCwdCarry equivalent for harnesses that want to mutate
logical cwd after a successful cd command. Same contract as the TS
applyCwdCarry — returns whether the cwd changed and whether the
attempt escaped the workspace.
Fields§
§changed: bool§escaped: boolTrait Implementations§
Source§impl Clone for CwdCarryOutcome
impl Clone for CwdCarryOutcome
Source§fn clone(&self) -> CwdCarryOutcome
fn clone(&self) -> CwdCarryOutcome
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 CwdCarryOutcome
impl Debug for CwdCarryOutcome
impl Copy for CwdCarryOutcome
Auto Trait Implementations§
impl Freeze for CwdCarryOutcome
impl RefUnwindSafe for CwdCarryOutcome
impl Send for CwdCarryOutcome
impl Sync for CwdCarryOutcome
impl Unpin for CwdCarryOutcome
impl UnsafeUnpin for CwdCarryOutcome
impl UnwindSafe for CwdCarryOutcome
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