Enum bindgen::RustTarget
source · pub enum RustTarget {
Show 20 variants
Nightly,
Stable_1_73,
Stable_1_71,
Stable_1_68,
Stable_1_64,
Stable_1_59,
Stable_1_47,
Stable_1_40,
Stable_1_36,
Stable_1_33,
Stable_1_30,
Stable_1_28,
Stable_1_27,
Stable_1_26,
Stable_1_25,
Stable_1_21,
Stable_1_20,
Stable_1_19,
Stable_1_17,
Stable_1_0,
}
Expand description
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§
Nightly
Rust Nightly
Stable_1_73
Rust 1.73
Stable_1_71
Rust 1.71
Stable_1_68
Rust 1.68
Stable_1_64
Rust 1.64
Stable_1_59
Rust 1.59
Stable_1_47
Rust 1.47
Stable_1_40
Rust 1.40
Stable_1_36
Rust 1.36
Stable_1_33
Rust 1.33
Stable_1_30
👎Deprecated
Rust 1.30
Stable_1_28
👎Deprecated
Rust 1.28
Stable_1_27
👎Deprecated
Rust 1.27
Stable_1_26
👎Deprecated
Rust 1.26
Stable_1_25
👎Deprecated
Rust 1.25
Stable_1_21
👎Deprecated
Rust 1.21
Stable_1_20
👎Deprecated
Rust 1.20
Stable_1_19
👎Deprecated
Rust 1.19
Stable_1_17
👎Deprecated
Rust 1.17
Stable_1_0
👎Deprecated
Rust 1.0
Trait Implementations§
source§impl Clone for RustTarget
impl Clone for RustTarget
source§fn clone(&self) -> RustTarget
fn clone(&self) -> RustTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RustTarget
impl Debug for RustTarget
source§impl Default for RustTarget
impl Default for RustTarget
source§impl Display for RustTarget
impl Display for RustTarget
source§impl FromStr for RustTarget
impl FromStr for RustTarget
source§impl Hash for RustTarget
impl Hash for RustTarget
source§impl Ord for RustTarget
impl Ord for RustTarget
source§impl PartialEq for RustTarget
impl PartialEq for RustTarget
source§fn eq(&self, other: &RustTarget) -> bool
fn eq(&self, other: &RustTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RustTarget
impl PartialOrd for RustTarget
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for RustTarget
impl Eq for RustTarget
impl StructuralPartialEq for RustTarget
Auto Trait Implementations§
impl RefUnwindSafe for RustTarget
impl Send for RustTarget
impl Sync for RustTarget
impl Unpin for RustTarget
impl UnwindSafe for RustTarget
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more