[][src]Struct gba_types::VideoMode

#[repr(transparent)]pub struct VideoMode(_);

One of the six video modes available on the GBA.

Implementations

impl VideoMode[src]

pub const _0: VideoMode[src]

Mode 0: bg0, bg1, bg2, and bg3 are textual.

pub const _1: VideoMode[src]

Mode 1: bg0 and bg1 are textual, bg2 is affine.

pub const _2: VideoMode[src]

Mode 2: bg2 and bg3 are affine.

pub const _3: VideoMode[src]

Mode 3: Single bitmap.

pub const _4: VideoMode[src]

Mode 4: Two full-resolution indexmaps.

pub const _5: VideoMode[src]

Mode 5: Two partial-resolution bitmaps.

Trait Implementations

impl Clone for VideoMode[src]

impl Copy for VideoMode[src]

impl Debug for VideoMode[src]

impl Default for VideoMode[src]

impl Eq for VideoMode[src]

impl Hash for VideoMode[src]

impl Ord for VideoMode[src]

impl PartialEq<VideoMode> for VideoMode[src]

impl PartialOrd<VideoMode> for VideoMode[src]

impl StructuralEq for VideoMode[src]

impl StructuralPartialEq for VideoMode[src]

Auto Trait Implementations

impl Send for VideoMode

impl Sync for VideoMode

impl Unpin for VideoMode

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, 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.