[−][src]Enum bindgen::RustTarget
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_19
Rust stable 1.19
Stable_1_20
Rust stable 1.20
Stable_1_21
Rust stable 1.21
Stable_1_25
Rust stable 1.25
Stable_1_26
Rust stable 1.26
Stable_1_27
Rust stable 1.27
Stable_1_28
Rust stable 1.28
Stable_1_30
Rust stable 1.30
Stable_1_33
Rust stable 1.33
Nightly
Nightly rust
Trait Implementations
impl Clone for RustTarget
[src]
fn clone(&self) -> RustTarget
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for RustTarget
[src]
fn default() -> RustTarget
[src]
Gives the latest stable Rust version
impl From<RustTarget> for String
[src]
fn from(target: RustTarget) -> Self
[src]
impl PartialOrd<RustTarget> for RustTarget
[src]
fn partial_cmp(&self, other: &RustTarget) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
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 PartialEq<RustTarget> for RustTarget
[src]
fn eq(&self, other: &RustTarget) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Copy for RustTarget
[src]
impl Eq for RustTarget
[src]
impl Debug for RustTarget
[src]
impl Hash for RustTarget
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl FromStr for RustTarget
[src]
Auto Trait Implementations
impl Sync for RustTarget
impl Send for RustTarget
impl Unpin for RustTarget
impl RefUnwindSafe for RustTarget
impl UnwindSafe for RustTarget
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,