[][src]Struct gba_types::KeyInterruptBits

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

Implementations

impl KeyInterruptBits[src]

pub fn set_a_selected(&mut self, a_selected: bool)[src]

#[must_use]pub fn a_selected(self) -> bool[src]

pub fn set_b_selected(&mut self, b_selected: bool)[src]

#[must_use]pub fn b_selected(self) -> bool[src]

pub fn set_select_selected(&mut self, select_selected: bool)[src]

#[must_use]pub fn select_selected(self) -> bool[src]

pub fn set_start_selected(&mut self, start_selected: bool)[src]

#[must_use]pub fn start_selected(self) -> bool[src]

pub fn set_right_selected(&mut self, right_selected: bool)[src]

#[must_use]pub fn right_selected(self) -> bool[src]

pub fn set_left_selected(&mut self, left_selected: bool)[src]

#[must_use]pub fn left_selected(self) -> bool[src]

pub fn set_up_selected(&mut self, up_selected: bool)[src]

#[must_use]pub fn up_selected(self) -> bool[src]

pub fn set_down_selected(&mut self, down_selected: bool)[src]

#[must_use]pub fn down_selected(self) -> bool[src]

pub fn set_r_selected(&mut self, r_selected: bool)[src]

#[must_use]pub fn r_selected(self) -> bool[src]

pub fn set_l_selected(&mut self, l_selected: bool)[src]

#[must_use]pub fn l_selected(self) -> bool[src]

pub fn set_key_interrupts_enabled(&mut self, key_interrupts_enabled: bool)[src]

#[must_use]pub fn key_interrupts_enabled(self) -> bool[src]

pub fn set_interrupt_requires_all_bits(
    &mut self,
    interrupt_requires_all_bits: bool
)
[src]

#[must_use]pub fn interrupt_requires_all_bits(self) -> bool[src]

Trait Implementations

impl Clone for KeyInterruptBits[src]

impl Copy for KeyInterruptBits[src]

impl Debug for KeyInterruptBits[src]

impl Default for KeyInterruptBits[src]

impl Eq for KeyInterruptBits[src]

impl Hash for KeyInterruptBits[src]

impl Ord for KeyInterruptBits[src]

impl PartialEq<KeyInterruptBits> for KeyInterruptBits[src]

impl PartialOrd<KeyInterruptBits> for KeyInterruptBits[src]

impl StructuralEq for KeyInterruptBits[src]

impl StructuralPartialEq for KeyInterruptBits[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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> 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.