pub struct Gcc { /* private fields */ }Implementations§
Source§impl Gcc
impl Gcc
pub fn path(&self) -> &Path
pub fn try_new_exact_path<P: Into<PathBuf>>(path: P) -> Result<Self, Error>
Sourcepub fn try_from_default_env() -> Result<Self, Error>
pub fn try_from_default_env() -> Result<Self, Error>
Create new with default env var
Sourcepub fn try_from_env_path() -> Result<Self, Error>
pub fn try_from_env_path() -> Result<Self, Error>
Create new with executable in PATH
Sourcepub fn try_from_path<S: AsRef<OsStr>>(path: S) -> Result<Self, Error>
pub fn try_from_path<S: AsRef<OsStr>>(path: S) -> Result<Self, Error>
Create new with executable name or path
Sourcepub fn try_from_default_path() -> Result<Self, Error>
pub fn try_from_default_path() -> Result<Self, Error>
Create new with default path of executable
Auto Trait Implementations§
impl Freeze for Gcc
impl RefUnwindSafe for Gcc
impl Send for Gcc
impl Sync for Gcc
impl Unpin for Gcc
impl UnwindSafe for Gcc
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