Struct PushDir
struct PushDir<'a> { ... }
RAII guard returned from Shell::push_dir.
Dropping PushDir restores the working directory of the Shell to the
old value.
Implementations
impl Drop for PushDir<'_>
fn drop(self: &mut Self)
impl<'a> Debug for PushDir<'a>
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<'a> Freeze for PushDir<'a>
impl<'a> RefUnwindSafe for PushDir<'a>
impl<'a> Send for PushDir<'a>
impl<'a> Sync for PushDir<'a>
impl<'a> Unpin for PushDir<'a>
impl<'a> UnwindSafe for PushDir<'a>
impl<T> Any for PushDir<'a>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for PushDir<'a>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for PushDir<'a>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for PushDir<'a>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for PushDir<'a>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for PushDir<'a>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for PushDir<'a>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>