Struct gba::video::WindowInside
source · pub struct WindowInside(/* private fields */);
Implementations§
source§impl WindowInside
impl WindowInside
pub const fn new() -> Self
pub const fn win0_bg0(self) -> bool
pub const fn with_win0_bg0(self, b: bool) -> Self
pub const fn win0_bg1(self) -> bool
pub const fn with_win0_bg1(self, b: bool) -> Self
pub const fn win0_bg2(self) -> bool
pub const fn with_win0_bg2(self, b: bool) -> Self
pub const fn win0_bg3(self) -> bool
pub const fn with_win0_bg3(self, b: bool) -> Self
pub const fn win0_obj(self) -> bool
pub const fn with_win0_obj(self, b: bool) -> Self
pub const fn win0_effect(self) -> bool
pub const fn with_win0_effect(self, b: bool) -> Self
pub const fn win1_bg0(self) -> bool
pub const fn with_win1_bg0(self, b: bool) -> Self
pub const fn win1_bg1(self) -> bool
pub const fn with_win1_bg1(self, b: bool) -> Self
pub const fn win1_bg2(self) -> bool
pub const fn with_win1_bg2(self, b: bool) -> Self
pub const fn win1_bg3(self) -> bool
pub const fn with_win1_bg3(self, b: bool) -> Self
pub const fn win1_obj(self) -> bool
pub const fn with_win1_obj(self, b: bool) -> Self
pub const fn win1_effect(self) -> bool
pub const fn with_win1_effect(self, b: bool) -> Self
Trait Implementations§
source§impl Clone for WindowInside
impl Clone for WindowInside
source§fn clone(&self) -> WindowInside
fn clone(&self) -> WindowInside
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WindowInside
impl Debug for WindowInside
source§impl Default for WindowInside
impl Default for WindowInside
source§fn default() -> WindowInside
fn default() -> WindowInside
Returns the “default value” for a type. Read more
source§impl Hash for WindowInside
impl Hash for WindowInside
source§impl Ord for WindowInside
impl Ord for WindowInside
source§fn cmp(&self, other: &WindowInside) -> Ordering
fn cmp(&self, other: &WindowInside) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for WindowInside
impl PartialEq for WindowInside
source§fn eq(&self, other: &WindowInside) -> bool
fn eq(&self, other: &WindowInside) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for WindowInside
impl PartialOrd for WindowInside
source§fn partial_cmp(&self, other: &WindowInside) -> Option<Ordering>
fn partial_cmp(&self, other: &WindowInside) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for WindowInside
impl Eq for WindowInside
impl StructuralPartialEq for WindowInside
Auto Trait Implementations§
impl Freeze for WindowInside
impl RefUnwindSafe for WindowInside
impl Send for WindowInside
impl Sync for WindowInside
impl Unpin for WindowInside
impl UnwindSafe for WindowInside
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more