Enum bindgen::RustTarget [] [src]

pub enum RustTarget {
    Stable_1_0,
    Stable_1_19,
    Stable_1_21,
    Nightly,
}

Represents the version of the Rust language to target.

To support a beta release, use the corresponding stable release.

This enum will have more variants added as necessary.

Variants

Rust stable 1.0

Rust stable 1.19

Rust stable 1.21

Nightly rust

Trait Implementations

impl Debug for RustTarget
[src]

[src]

Formats the value using the given formatter.

impl Copy for RustTarget
[src]

impl Clone for RustTarget
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for RustTarget
[src]

impl PartialEq for RustTarget
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl PartialOrd for RustTarget
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Hash for RustTarget
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Default for RustTarget
[src]

[src]

Gives the latest stable Rust version

impl FromStr for RustTarget
[src]

The associated error which can be returned from parsing.

[src]

Create a RustTarget from a string.

  • The stable/beta versions of Rust are of the form "1.0", "1.19", etc.
  • The nightly version should be specified with "nightly".