Enum glyph_ui::OutOfBounds[][src]

pub enum OutOfBounds {
    Start(Rect<u16, Cell>, Point2D<u16, Cell>),
    End(Rect<u16, Cell>, Point2D<u16, Cell>),
    Area(Rect<u16, Cell>, Rect<u16, Cell>),
}

Error returned from some Printer methods

Variants

Start(Rect<u16, Cell>, Point2D<u16, Cell>)

The starting point was out of bounds

The ending point was out of bounds

Area(Rect<u16, Cell>, Rect<u16, Cell>)

A new rectangle does not fit inside the old rectangle

Trait Implementations

impl Debug for OutOfBounds[src]

impl Display for OutOfBounds[src]

impl Error for OutOfBounds[src]

Auto Trait Implementations

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> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<V> ViewExt for V[src]

impl<'a, T, M, V> ViewExt<'a, T, M> for V[src]

impl<'a, T, O, M, F, V> ViewExt<'a, T, O, M, F> for V where
    F: Fn(O) -> M + Clone + 'static,
    M: 'static,
    O: 'static, 
[src]

impl<V> ViewExt for V[src]

impl<V> ViewExt for V[src]

impl<V> ViewExt for V[src]