[−][src]Struct gba_types::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]
&mut self,
interrupt_requires_all_bits: bool
)
#[must_use]pub fn interrupt_requires_all_bits(self) -> bool
[src]
Trait Implementations
impl Clone for KeyInterruptBits
[src]
fn clone(&self) -> KeyInterruptBits
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for KeyInterruptBits
[src]
impl Debug for KeyInterruptBits
[src]
impl Default for KeyInterruptBits
[src]
fn default() -> KeyInterruptBits
[src]
impl Eq for KeyInterruptBits
[src]
impl Hash for KeyInterruptBits
[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 KeyInterruptBits
[src]
fn cmp(&self, other: &KeyInterruptBits) -> 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<KeyInterruptBits> for KeyInterruptBits
[src]
fn eq(&self, other: &KeyInterruptBits) -> bool
[src]
fn ne(&self, other: &KeyInterruptBits) -> bool
[src]
impl PartialOrd<KeyInterruptBits> for KeyInterruptBits
[src]
fn partial_cmp(&self, other: &KeyInterruptBits) -> Option<Ordering>
[src]
fn lt(&self, other: &KeyInterruptBits) -> bool
[src]
fn le(&self, other: &KeyInterruptBits) -> bool
[src]
fn gt(&self, other: &KeyInterruptBits) -> bool
[src]
fn ge(&self, other: &KeyInterruptBits) -> bool
[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]
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>,