Enum darksky::Icon [] [src]

pub enum Icon {
    ClearDay,
    ClearNight,
    Cloudy,
    Fog,
    Hail,
    PartlyCloudyDay,
    PartlyCloudyNight,
    Rain,
    Sleet,
    Snow,
    Thunderstorm,
    Tornado,
    Wind,
}

A safe representation of the indicated weather. This is useful for matching and presenting an emoji or other weather symbol or representation.

Variants

The day's sky is clear.

The night sky is clear.

The sky is cloudy.

It is foggy.

Not actively in use

The day's sky is partly cloudy.

The night's sky is partly night.

The weather is rain.

The weather is sleet.

The weather is snow.

Not actively in use

Not actively in use

The weather is windy.

Trait Implementations

impl Copy for Icon
[src]

impl Clone for Icon
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Icon
[src]

[src]

Formats the value using the given formatter.

impl Eq for Icon
[src]

impl Hash for Icon
[src]

[src]

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

1.3.0
[src]

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

impl PartialEq for Icon
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialOrd for Icon
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Icon
[src]

[src]

This method returns an Ordering between self and other. Read more

[src]

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the maximum of two values. Read more

[src]

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the minimum of two values. Read more