[−][src]Struct gba_hal::data::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]
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 Copy for WindowIn
[src]
impl Debug for WindowIn
[src]
impl Clone for WindowIn
[src]
fn clone(&self) -> 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
Blanket Implementations
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,