[−][src]Enum cargo_binutils::Tool
Variants
Implementations
impl Tool[src]
pub fn name(self) -> &'static str[src]
pub fn exe(self) -> String[src]
pub fn path(self) -> Result<PathBuf>[src]
pub fn rust_exec(self) -> ![src]
Forwards execution to the specified tool. If the tool fails to start or is not found this process exits with status code 101 the same as if the process has a panic!
pub fn cargo_exec(self, examples: Option<&str>) -> ![src]
Parses arguments for cargo $tool and then if needed executes cargo build
before parsing the required arguments to rust-$tool.
If the tool fails to start or is not found this process exits with
status code 101 the same as if the process has a panic!
pub fn needs_build(self) -> bool[src]
Trait Implementations
impl Clone for Tool[src]
impl Copy for Tool[src]
impl PartialEq<Tool> for Tool[src]
impl StructuralPartialEq for Tool[src]
Auto Trait Implementations
impl RefUnwindSafe for Tool
impl Send for Tool
impl Sync for Tool
impl Unpin for Tool
impl UnwindSafe for Tool
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,