[−][src]Struct gba_types::DisplayControlSetting
Implementations
impl DisplayControlSetting
[src]
pub fn set_video_mode(&mut self, video_mode: VideoMode)
[src]
#[must_use]pub fn video_mode(self) -> VideoMode
[src]
pub fn set_show_frame1(&mut self, show_frame1: bool)
[src]
#[must_use]pub fn show_frame1(self) -> bool
[src]
pub fn set_hblank_oam_free(&mut self, hblank_oam_free: bool)
[src]
#[must_use]pub fn hblank_oam_free(self) -> bool
[src]
pub fn set_obj_vram_is_1d(&mut self, obj_vram_is_1d: bool)
[src]
#[must_use]pub fn obj_vram_is_1d(self) -> bool
[src]
pub fn set_forced_blank(&mut self, forced_blank: bool)
[src]
#[must_use]pub fn forced_blank(self) -> bool
[src]
pub fn set_display_bg0(&mut self, display_bg0: bool)
[src]
#[must_use]pub fn display_bg0(self) -> bool
[src]
pub fn set_display_bg1(&mut self, display_bg1: bool)
[src]
#[must_use]pub fn display_bg1(self) -> bool
[src]
pub fn set_display_bg2(&mut self, display_bg2: bool)
[src]
#[must_use]pub fn display_bg2(self) -> bool
[src]
pub fn set_display_bg3(&mut self, display_bg3: bool)
[src]
#[must_use]pub fn display_bg3(self) -> bool
[src]
pub fn set_display_obj(&mut self, display_obj: bool)
[src]
#[must_use]pub fn display_obj(self) -> bool
[src]
pub fn set_display_win0(&mut self, display_win0: bool)
[src]
#[must_use]pub fn display_win0(self) -> bool
[src]
pub fn set_display_win1(&mut self, display_win1: bool)
[src]
#[must_use]pub fn display_win1(self) -> bool
[src]
pub fn set_display_obj_win(&mut self, display_obj_win: bool)
[src]
#[must_use]pub fn display_obj_win(self) -> bool
[src]
Trait Implementations
impl Clone for DisplayControlSetting
[src]
fn clone(&self) -> DisplayControlSetting
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DisplayControlSetting
[src]
impl Debug for DisplayControlSetting
[src]
impl Default for DisplayControlSetting
[src]
fn default() -> DisplayControlSetting
[src]
impl Eq for DisplayControlSetting
[src]
impl Hash for DisplayControlSetting
[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 DisplayControlSetting
[src]
fn cmp(&self, other: &DisplayControlSetting) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<DisplayControlSetting> for DisplayControlSetting
[src]
fn eq(&self, other: &DisplayControlSetting) -> bool
[src]
fn ne(&self, other: &DisplayControlSetting) -> bool
[src]
impl PartialOrd<DisplayControlSetting> for DisplayControlSetting
[src]
fn partial_cmp(&self, other: &DisplayControlSetting) -> Option<Ordering>
[src]
fn lt(&self, other: &DisplayControlSetting) -> bool
[src]
fn le(&self, other: &DisplayControlSetting) -> bool
[src]
fn gt(&self, other: &DisplayControlSetting) -> bool
[src]
fn ge(&self, other: &DisplayControlSetting) -> bool
[src]
impl StructuralEq for DisplayControlSetting
[src]
impl StructuralPartialEq for DisplayControlSetting
[src]
Auto Trait Implementations
impl Send for DisplayControlSetting
impl Sync for DisplayControlSetting
impl Unpin for DisplayControlSetting
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>,