[][src]Struct gba_hal::data::WindowIn

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

Controls the interior of windows 0 and 1.

  • 0-3: Win0 BG0 through BG3 enable
  • 4: Win0 OBJ enable
  • 5: Win0 color special effect enable
  • 8-11: Win0 BG0 through BG3 enable
  • 12: Win0 OBJ enable
  • 13: Win0 color special effect enable

Methods

impl WindowIn[src]

pub const fn new() -> Self[src]

A const "zero value" constructor

impl WindowIn[src]

pub const WIN0_BG0_BIT: u16[src]

pub const fn win0_bg0(self) -> bool[src]

pub const fn with_win0_bg0(self, bit: bool) -> Self[src]

pub const WIN0_BG1_BIT: u16[src]

pub const fn win0_bg1(self) -> bool[src]

pub const fn with_win0_bg1(self, bit: bool) -> Self[src]

pub const WIN0_BG2_BIT: u16[src]

pub const fn win0_bg2(self) -> bool[src]

pub const fn with_win0_bg2(self, bit: bool) -> Self[src]

pub const WIN0_BG3_BIT: u16[src]

pub const fn win0_bg3(self) -> bool[src]

pub const fn with_win0_bg3(self, bit: bool) -> Self[src]

pub const WIN0_OBJ_BIT: u16[src]

pub const fn win0_obj(self) -> bool[src]

pub const fn with_win0_obj(self, bit: bool) -> Self[src]

pub const WIN0_COLOR_EFFECT_BIT: u16[src]

pub const fn win0_color_effect(self) -> bool[src]

pub const fn with_win0_color_effect(self, bit: bool) -> Self[src]

pub const WIN1_BG0_BIT: u16[src]

pub const fn win1_bg0(self) -> bool[src]

pub const fn with_win1_bg0(self, bit: bool) -> Self[src]

pub const WIN1_BG1_BIT: u16[src]

pub const fn win1_bg1(self) -> bool[src]

pub const fn with_win1_bg1(self, bit: bool) -> Self[src]

pub const WIN1_BG2_BIT: u16[src]

pub const fn win1_bg2(self) -> bool[src]

pub const fn with_win1_bg2(self, bit: bool) -> Self[src]

pub const WIN1_BG3_BIT: u16[src]

pub const fn win1_bg3(self) -> bool[src]

pub const fn with_win1_bg3(self, bit: bool) -> Self[src]

pub const WIN1_OBJ_BIT: u16[src]

pub const fn win1_obj(self) -> bool[src]

pub const fn with_win1_obj(self, bit: bool) -> Self[src]

pub const WIN1_COLOR_EFFECT_BIT: u16[src]

pub const fn win1_color_effect(self) -> bool[src]

pub const fn with_win1_color_effect(self, bit: bool) -> Self[src]

Trait Implementations

impl PartialEq<WindowIn> for WindowIn[src]

impl Eq for WindowIn[src]

impl Debug for WindowIn[src]

impl Copy for WindowIn[src]

impl Clone for WindowIn[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for WindowIn[src]

Auto Trait Implementations

impl Send for WindowIn

impl Sync for WindowIn

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]