Enum bindgen::RustTarget [−][src]
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.1
Rust stable 1.19
- Untagged unions (RFC 1444)
Rust stable 1.20
- Associated constants (PR)
Rust stable 1.21
- Builtin impls for
Clone(PR)
Rust stable 1.25
repr(align)(PR)
Rust stable 1.26
Rust stable 1.27
must_useattribute on functions (PR)
Rust stable 1.28
repr(transparent)(PR)
Rust stable 1.30
const fnsupport for limited cases (PR- c_void available in core
Rust stable 1.33
- repr(packed(N)) (PR)
Rust stable 1.36
MaybeUninitinstead ofmem::uninitialized()(PR)
Rust stable 1.40
non_exhaustiveenums/structs (Tracking issue)
Nightly rust
thiscallcalling convention (Tracking issue)
Trait Implementations
impl Clone for RustTarget[src]
fn clone(&self) -> RustTarget[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[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]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<RustTarget> for RustTarget[src]
fn eq(&self, other: &RustTarget) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialOrd<RustTarget> for RustTarget[src]
fn partial_cmp(&self, other: &RustTarget) -> Option<Ordering>[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for RustTarget[src]
impl StructuralPartialEq for RustTarget[src]
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
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &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> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
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.
pub 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>,