[−][src]Struct rubidium::VideoMode
The video modes available on the GBA.
Mode | Affine | Layers | Res | Tiles | Colors | Features |
---|---|---|---|---|---|---|
0 | No | 0/1/2/3 | 256^2 to 512^2 | 1024 | 4bpp/8bpp | Scroll, Flip |
1 | Some | 0/1/2 | BG0/1 ^, BG2 V | - | - | - |
2 | Yes | 2/3 | 128^2 to 1024^2 | 256 | 4bpp/8bpp | Scroll |
3 | Yes | 2 | 240x160 | 1? | RGB555 | - |
4 | Yes | 2 | 240x160 | 2? | 4bpp | - |
5 | Yes | 2 | 160x128 | 2? | RGB555 | - |
All modes support Mosaic, Alpha Blending, Brightness, and Priority.
Methods
impl VideoMode
[src]
pub const VideoMode0: Self
[src]
pub const VideoMode1: Self
[src]
pub const VideoMode2: Self
[src]
pub const VideoMode3: Self
[src]
pub const VideoMode4: Self
[src]
pub const VideoMode5: Self
[src]
Trait Implementations
impl Clone for VideoMode
[src]
fn clone(&self) -> VideoMode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for VideoMode
[src]
impl Debug for VideoMode
[src]
impl Default for VideoMode
[src]
impl Eq for VideoMode
[src]
impl PartialEq<VideoMode> for VideoMode
[src]
impl StructuralEq for VideoMode
[src]
impl StructuralPartialEq for VideoMode
[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>,