Enum cargo::core::dependency::Platform [] [src]

pub enum Platform {
    Name(String),
    Cfg(CfgExpr),
}

Variants

Methods

impl Platform
[src]

Trait Implementations

impl Clone for Platform
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Platform
[src]

Formats the value using the given formatter.

impl PartialEq for Platform
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Serialize for Platform
[src]

Serialize this value into the given Serde serializer. Read more

impl FromStr for Platform
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Display for Platform
[src]

Formats the value using the given formatter. Read more