pub struct BinUtil(/* private fields */);
Implementations§
Trait Implementations§
Source§impl CommandExt for BinUtil
impl CommandExt for BinUtil
fn arg(&mut self, s: impl AsRef<OsStr>) -> &mut Self
fn args<I, S>(&mut self, args: I) -> &mut Self
fn optional<T>( &mut self, option: &Option<T>, op: impl FnOnce(&mut Self, &T), ) -> &mut Self
fn conditional( &mut self, condition: bool, op: impl FnOnce(&mut Self), ) -> &mut Self
fn option(&mut self, option: Option<impl AsRef<OsStr>>) -> &mut Self
fn current_dir(&mut self, dir: impl AsRef<Path>) -> &mut Self
fn env(&mut self, key: impl AsRef<OsStr>, val: impl AsRef<OsStr>) -> &mut Self
fn status(&mut self) -> ExitStatus
fn info(&self) -> OsString
fn invoke(&mut self)
fn output(&mut self) -> Output
Auto Trait Implementations§
impl Freeze for BinUtil
impl !RefUnwindSafe for BinUtil
impl Send for BinUtil
impl Sync for BinUtil
impl Unpin for BinUtil
impl !UnwindSafe for BinUtil
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