[−][src]Struct rubidium::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]
fn clone(&self) -> Mode3
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Mode3
[src]
impl Debug for Mode3
[src]
impl Default for Mode3
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,