Enum bindgen::RustTarget
source · pub enum RustTarget {
Show 22 variants
Nightly,
Stable_1_77,
Stable_1_73,
Stable_1_71,
Stable_1_68,
Stable_1_64,
Stable_1_59,
Stable_1_47,
Stable_1_43,
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_77
Rust 1.77
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_43
Rust 1.43
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§impl PartialOrd for RustTarget
impl PartialOrd for RustTarget
impl Copy for RustTarget
impl Eq for RustTarget
impl StructuralPartialEq for RustTarget
Auto Trait Implementations§
impl Freeze for RustTarget
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more