[][src]Enum hodgepodge::science::Planet

pub enum Planet {
    Mercury,
    Venus,
    Earth,
    Mars,
    Jupiter,
    Saturn,
    Uranus,
    Neptune,
    Pluto,
}

Planets of the solar system

Variants

Mercury

Mercury is the closest planet to the sun

Venus

Venus is the second closest planet to the sun

Earth

Earth is where we live!

Mars

Mars is the fourth closest planet to the sun

Jupiter

Jupiter is the fifth closest planet to the sun

Saturn

Saturn is the sixth closest planet to the sun

Uranus

Uranus is the seventh closest planet to the sun

Neptune

Neptune is the eighth closest planet to the sun

Pluto

Pluto will always be a planet in my heart and my code

Trait Implementations

impl Clone for Planet[src]

impl Copy for Planet[src]

impl Debug for Planet[src]

impl EnumCount for Planet[src]

impl IntoEnumIterator for Planet[src]

type Iterator = PlanetIter

Auto Trait Implementations

impl RefUnwindSafe for Planet

impl Send for Planet

impl Sync for Planet

impl Unpin for Planet

impl UnwindSafe for Planet

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.