[][src]Enum elma::lev::TopologyError

pub enum TopologyError {
    InvalidVertexCount(Vec<usize>),
    MaxObjects(usize),
    MaxPictures(usize),
    MaxPolygons(usize),
    InvalidPlayerCount(usize),
    MissingExit,
    TooWide(f64),
    TooHigh(f64),
}

Topology related errors.

Variants

InvalidVertexCount(Vec<usize>)

Polygon has too few or too many vertices, with list of erroneous polygons' indexes.

MaxObjects(usize)

Too many objects, with number of excess object count.

MaxPictures(usize)

Too many pictures, with number of excess picture count.

MaxPolygons(usize)

Too many polygons, with number of excess polygon count.

InvalidPlayerCount(usize)

Too many players/starts, with number of excess player count.

MissingExit

Missing exit/flower.

TooWide(f64)

Level is too wide, with excess width.

TooHigh(f64)

Level is too high, with excess height.

Trait Implementations

impl PartialEq<TopologyError> for TopologyError[src]

impl Debug for TopologyError[src]

Auto Trait Implementations

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.