Enum weather_icons::Style [] [src]

pub enum Style {
    Alt,
    Primary,
}

The moons are split into 28 icons, to correspond neatly with the 28 day moon cycle. There is a primary set and alternate set. The primary set is meant to be interpreted as: where there are pixels, that is the illuminated part of the moon. The alternate set is meant to be interpreted as: where there are pixels, that is the shadowed part of the moon.

From https://erikflowers.github.io/weather-icons/

Variants

'\u{f0eb}', i.e. wi-moon-alt-new

A full moon has no pixels.

'\u{f095}', i.e. wi-moon-new

A full moon is filled with pixels.

Trait Implementations

impl Clone for Style
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Style
[src]

impl Debug for Style
[src]

[src]

Formats the value using the given formatter.

impl Default for Style
[src]

[src]

Returns the "default value" for a type. Read more