Struct clang::PlatformAvailability[][src]

pub struct PlatformAvailability {
    pub platform: String,
    pub unavailable: bool,
    pub introduced: Option<Version>,
    pub deprecated: Option<Version>,
    pub obsoleted: Option<Version>,
    pub message: Option<String>,
}

The availability of an AST entity on a particular platform.

Fields

The name of the platform.

Whether the AST entity is unavailable on the platform.

The version of the platform in which this AST entity was introduced, if any.

The version of the platform in which this AST entity was deprecated, if any.

The version of the platform in which this AST entity was obsoleted, if any.

A message to display to users (e.g., replacement API suggestions).

Trait Implementations

impl Clone for PlatformAvailability
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PlatformAvailability
[src]

Formats the value using the given formatter. Read more

impl PartialEq for PlatformAvailability
[src]

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

This method tests for !=.

impl Eq for PlatformAvailability
[src]

impl Hash for PlatformAvailability
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations