pub struct TargetTriple {
pub os: OperatingSystem,
pub arch: ArchOr,
pub env: Environment,
pub vendor: Vendor,
pub family: Option<Family>,
}Expand description
A representation of a rustc target triple. This is related to,
but different than, the LLVM target triple.
Fields§
§os: OperatingSystem§arch: ArchOr§env: Environment§vendor: Vendor§family: Option<Family>Implementations§
Trait Implementations§
Source§impl Clone for TargetTriple
impl Clone for TargetTriple
Source§fn clone(&self) -> TargetTriple
fn clone(&self) -> TargetTriple
Returns a duplicate 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 TargetTriple
impl Debug for TargetTriple
Source§impl FromStr for TargetTriple
impl FromStr for TargetTriple
Source§impl PartialEq for TargetTriple
impl PartialEq for TargetTriple
impl Eq for TargetTriple
impl StructuralPartialEq for TargetTriple
Auto Trait Implementations§
impl Freeze for TargetTriple
impl RefUnwindSafe for TargetTriple
impl Send for TargetTriple
impl Sync for TargetTriple
impl Unpin for TargetTriple
impl UnsafeUnpin for TargetTriple
impl UnwindSafe for TargetTriple
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.