pub struct TargetArchitecture {
pub Triple: String,
pub Name: String,
pub IsSupported: bool,
}Expand description
Represents a supported target platform.
Fields§
§Triple: StringThe full Rust target triple (e.g., “aarch64-apple-darwin”).
Name: StringHuman-readable platform name.
IsSupported: boolWhether this architecture is supported for release builds.
Implementations§
Source§impl TargetArchitecture
impl TargetArchitecture
Sourcepub fn SupportedTargets() -> Vec<Self>
pub fn SupportedTargets() -> Vec<Self>
Returns all supported target architectures.
Trait Implementations§
Source§impl Clone for TargetArchitecture
impl Clone for TargetArchitecture
Source§fn clone(&self) -> TargetArchitecture
fn clone(&self) -> TargetArchitecture
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 TargetArchitecture
impl Debug for TargetArchitecture
Source§impl PartialEq for TargetArchitecture
impl PartialEq for TargetArchitecture
impl Eq for TargetArchitecture
impl StructuralPartialEq for TargetArchitecture
Auto Trait Implementations§
impl Freeze for TargetArchitecture
impl RefUnwindSafe for TargetArchitecture
impl Send for TargetArchitecture
impl Sync for TargetArchitecture
impl Unpin for TargetArchitecture
impl UnsafeUnpin for TargetArchitecture
impl UnwindSafe for TargetArchitecture
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.