[][src]Enum pushrod::render::widget_config::CompassPosition

pub enum CompassPosition {
    NW,
    N,
    NE,
    W,
    Center,
    E,
    SW,
    S,
    SE,
}

This enum is used by the ImageWidget, which controls the positioning of the image being rendered within the bounds of the Widget.

Variants

NW

Upper left-hand corner of the bounds.

N

Centered top of the bounds.

NE

Upper right-hand corner of the bounds.

W

Centered left side of the bounds.

Center

Center of the bounds.

E

Centered right side of the bounds.

SW

Lower left-hand corner of the bounds.

S

Bottom center of the bounds.

SE

Lower right-hand corner of the bounds.

Trait Implementations

impl Clone for CompassPosition[src]

impl Copy for CompassPosition[src]

impl Debug for CompassPosition[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> 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.