[][src]Enum elma::lev::ObjectType

pub enum ObjectType {
    Apple {
        gravity: GravityDirection,
        animation: i32,
    },
    Exit,
    Killer,
    Player,
}

Type of object.

Variants

Apple

Apple.

Fields of Apple

gravity: GravityDirection

Gravity change.

animation: i32

Animation number.

Exit

Flower/exit.

Killer

Killer.

Player

Player/start.

Trait Implementations

impl Default for ObjectType[src]

impl PartialEq<ObjectType> for ObjectType[src]

impl Debug for ObjectType[src]

Auto Trait Implementations

impl Send for ObjectType

impl Sync for ObjectType

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.