Enum bindgen::RustTarget[][src]

pub enum RustTarget {
    Stable_1_0,
    Stable_1_1,
    Stable_1_19,
    Stable_1_20,
    Stable_1_21,
    Stable_1_25,
    Stable_1_26,
    Stable_1_27,
    Stable_1_28,
    Stable_1_30,
    Stable_1_33,
    Stable_1_36,
    Stable_1_40,
    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

Stable_1_0

Rust stable 1.0

Stable_1_1

Rust stable 1.1

Stable_1_19

Rust stable 1.19

Stable_1_20

Rust stable 1.20

  • Associated constants (PR)
Stable_1_21

Rust stable 1.21

  • Builtin impls for Clone (PR)
Stable_1_25

Rust stable 1.25

  • repr(align) (PR)
Stable_1_26

Rust stable 1.26

Stable_1_27

Rust stable 1.27

  • must_use attribute on functions (PR)
Stable_1_28

Rust stable 1.28

  • repr(transparent) (PR)
Stable_1_30

Rust stable 1.30

Stable_1_33

Rust stable 1.33

  • repr(packed(N)) (PR)
Stable_1_36

Rust stable 1.36

  • MaybeUninit instead of mem::uninitialized() (PR)
Stable_1_40

Rust stable 1.40

Nightly

Nightly rust

Trait Implementations

impl Clone for RustTarget[src]

impl Copy for RustTarget[src]

impl Debug for RustTarget[src]

impl Default for RustTarget[src]

fn default() -> RustTarget[src]

Gives the latest stable Rust version

impl Eq for RustTarget[src]

impl FromStr for RustTarget[src]

type Err = Error

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<Self, Self::Err>[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”.

impl Hash for RustTarget[src]

impl PartialEq<RustTarget> for RustTarget[src]

impl PartialOrd<RustTarget> for RustTarget[src]

impl StructuralEq for RustTarget[src]

impl StructuralPartialEq for RustTarget[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, 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.