pub struct ToolchainTargets<'t> { /* private fields */ }
Expand description

Result of toolchain.targets()

Implementations

rustup target list --toolchain {toolchain} - gets all targets known by this toolchain, installed or not

rustup target list --installed --toolchain {toolchain} - gets all installed targets for this toolchain

Verifies target exists within rustup target list --installed --toolchain {toolchain}

rustup target add {target} --toolchain {toolchain} - adds a target

rustup target remove {target} --toolchain {toolchain} - removes a target

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.