[][src]Struct rubidium::Mode3

pub struct Mode3;

A ZST for putting VideoMode3 stuff in one place.

See VideoMode.

Methods

impl Mode3[src]

pub const WIDTH: usize[src]

In Mode3 screen is 240 pixels wide.

pub const HEIGHT: usize[src]

In Mode3 screen is 160 pixels tall.

pub fn row(self, y: usize) -> Mode3Row[src]

Gets the start of a given row.

Trait Implementations

impl Clone for Mode3[src]

impl Copy for Mode3[src]

impl Debug for Mode3[src]

impl Default for Mode3[src]

Auto Trait Implementations

impl Send for Mode3

impl Sync for Mode3

impl Unpin for Mode3

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.