[][src]Enum bindgen::RustTarget

pub enum RustTarget {
    Stable_1_0,
    Stable_1_19,
    Stable_1_20,
    Stable_1_21,
    Stable_1_25,
    Stable_1_26,
    Stable_1_27,
    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.20

Rust stable 1.21

Rust stable 1.25

Rust stable 1.26

Rust stable 1.27

Nightly rust

Trait Implementations

impl Clone for RustTarget
[src]

Performs copy-assignment from source. Read more

impl Copy for RustTarget
[src]

impl From<RustTarget> for String
[src]

impl Eq for RustTarget
[src]

impl PartialOrd<RustTarget> for RustTarget
[src]

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

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

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

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

impl Default for RustTarget
[src]

Gives the latest stable Rust version

impl PartialEq<RustTarget> for RustTarget
[src]

This method tests for !=.

impl Debug for RustTarget
[src]

impl Hash for RustTarget
[src]

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

impl FromStr for RustTarget
[src]

The associated error which can be returned from parsing.

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".

Auto Trait Implementations

impl Send for RustTarget

impl Sync for RustTarget

Blanket Implementations

impl<T> From for T
[src]

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

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

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

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

The type returned in the event of a conversion error.

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

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

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

The type returned in the event of a conversion error.

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

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