Struct target_spec::summaries::PlatformSummary
source · [−]pub struct PlatformSummary {
pub triple: String,
pub target_features: TargetFeaturesSummary,
pub flags: BTreeSet<String>,
}Available on crate feature
summaries only.Expand description
An owned, serializable version of Platform.
This structure can be serialized and deserialized using serde.
Requires the summaries feature to be enabled.
Fields
triple: StringThe platform triple.
target_features: TargetFeaturesSummaryThe target features used.
flags: BTreeSet<String>The flags enabled.
Implementations
Trait Implementations
sourceimpl Clone for PlatformSummary
impl Clone for PlatformSummary
sourcefn clone(&self) -> PlatformSummary
fn clone(&self) -> PlatformSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PlatformSummary
impl Debug for PlatformSummary
sourceimpl<'de> Deserialize<'de> for PlatformSummary
impl<'de> Deserialize<'de> for PlatformSummary
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<PlatformSummary> for PlatformSummary
impl PartialEq<PlatformSummary> for PlatformSummary
sourcefn eq(&self, other: &PlatformSummary) -> bool
fn eq(&self, other: &PlatformSummary) -> bool
sourceimpl Serialize for PlatformSummary
impl Serialize for PlatformSummary
impl Eq for PlatformSummary
impl StructuralEq for PlatformSummary
impl StructuralPartialEq for PlatformSummary
Auto Trait Implementations
impl RefUnwindSafe for PlatformSummary
impl Send for PlatformSummary
impl Sync for PlatformSummary
impl Unpin for PlatformSummary
impl UnwindSafe for PlatformSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more