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§
source§impl Clone for PlatformSummary
impl Clone for PlatformSummary
source§fn clone(&self) -> PlatformSummary
fn clone(&self) -> PlatformSummary
Returns a copy 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 PlatformSummary
impl Debug for PlatformSummary
source§impl<'de> Deserialize<'de> for PlatformSummary
impl<'de> Deserialize<'de> for PlatformSummary
source§fn 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
source§impl PartialEq<PlatformSummary> for PlatformSummary
impl PartialEq<PlatformSummary> for PlatformSummary
source§fn eq(&self, other: &PlatformSummary) -> bool
fn eq(&self, other: &PlatformSummary) -> bool
This method tests for
self and other values to be equal, and is used
by ==.