[−][src]Struct gba_types::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]
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 Hash for VideoMode[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Ord for VideoMode[src]
fn cmp(&self, other: &VideoMode) -> Ordering[src]
#[must_use]fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<VideoMode> for VideoMode[src]
impl PartialOrd<VideoMode> for VideoMode[src]
fn partial_cmp(&self, other: &VideoMode) -> Option<Ordering>[src]
fn lt(&self, other: &VideoMode) -> bool[src]
fn le(&self, other: &VideoMode) -> bool[src]
fn gt(&self, other: &VideoMode) -> bool[src]
fn ge(&self, other: &VideoMode) -> bool[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>,