Struct rust_version::Version [] [src]

pub struct Version { /* fields omitted */ }

Rust version.

Methods

impl Version
[src]

[src]

Parses the version from a currently installed rustc toolchain.

[src]

Parses the version from a manifest at static.rust-lang.org.

[src]

Parses the version from the latest Stable.

[src]

Parses the version from the latest Stable.

[src]

Parses the version from the latest Stable.

[src]

Installs this version via rustup.

[src]

The release for this version.

[src]

The channel for this version.

[src]

The date for this version.

[src]

The commit for this version.

[src]

The name of the toolchain required by rustup and co.

This doesn't include the target.

Trait Implementations

impl Debug for Version
[src]

[src]

Formats the value using the given formatter.

impl Clone for Version
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> TryFrom<&'a [u8]> for Version
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

[src]

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<'a> TryFrom<&'a str> for Version
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

[src]

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.