Struct mmrbi::rustup::Toolchain[][src]

pub struct Toolchain { /* fields omitted */ }

A rustup-installed rust toolchain

Implementations

impl Toolchain[src]

pub fn as_str(&self) -> &str[src]

The entire toolchain name as a string

pub fn targets(&self) -> ToolchainTargets<'_>[src]

Targets for this toolchain

pub fn cargo(&self) -> Command[src]

Creates a Command to run cargo for a specific rustup toolchain

pub fn rustc(&self) -> Command[src]

Creates a Command to run rustc for a specific rustup toolchain

Trait Implementations

impl AsRef<str> for Toolchain[src]

impl Borrow<str> for Toolchain[src]

impl Clone for Toolchain[src]

impl Debug for Toolchain[src]

impl Display for Toolchain[src]

impl Eq for Toolchain[src]

impl Hash for Toolchain[src]

impl Ord for Toolchain[src]

impl PartialEq<Toolchain> for Toolchain[src]

impl PartialOrd<Toolchain> for Toolchain[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.