[−][src]Struct gba_types::GeneratedSoundActiveBits
Implementations
impl GeneratedSoundActiveBits
[src]
#[must_use]pub fn sound_1_active(self) -> bool
[src]
#[must_use]pub fn sound_2_active(self) -> bool
[src]
#[must_use]pub fn sound_3_active(self) -> bool
[src]
#[must_use]pub fn sound_4_active(self) -> bool
[src]
#[must_use]pub fn sound_enabled(self) -> bool
[src]
pub fn set_sound_1_active(&mut self, sound_1_active: bool)
[src]
pub fn set_sound_2_active(&mut self, sound_2_active: bool)
[src]
pub fn set_sound_3_active(&mut self, sound_3_active: bool)
[src]
pub fn set_sound_4_active(&mut self, sound_4_active: bool)
[src]
pub fn set_sound_enabled(&mut self, sound_enabled: bool)
[src]
Trait Implementations
impl Clone for GeneratedSoundActiveBits
[src]
fn clone(&self) -> GeneratedSoundActiveBits
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GeneratedSoundActiveBits
[src]
impl Debug for GeneratedSoundActiveBits
[src]
impl Default for GeneratedSoundActiveBits
[src]
fn default() -> GeneratedSoundActiveBits
[src]
impl Eq for GeneratedSoundActiveBits
[src]
impl Hash for GeneratedSoundActiveBits
[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 GeneratedSoundActiveBits
[src]
fn cmp(&self, other: &GeneratedSoundActiveBits) -> 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<GeneratedSoundActiveBits> for GeneratedSoundActiveBits
[src]
fn eq(&self, other: &GeneratedSoundActiveBits) -> bool
[src]
fn ne(&self, other: &GeneratedSoundActiveBits) -> bool
[src]
impl PartialOrd<GeneratedSoundActiveBits> for GeneratedSoundActiveBits
[src]
fn partial_cmp(&self, other: &GeneratedSoundActiveBits) -> Option<Ordering>
[src]
fn lt(&self, other: &GeneratedSoundActiveBits) -> bool
[src]
fn le(&self, other: &GeneratedSoundActiveBits) -> bool
[src]
fn gt(&self, other: &GeneratedSoundActiveBits) -> bool
[src]
fn ge(&self, other: &GeneratedSoundActiveBits) -> bool
[src]
impl StructuralEq for GeneratedSoundActiveBits
[src]
impl StructuralPartialEq for GeneratedSoundActiveBits
[src]
Auto Trait Implementations
impl Send for GeneratedSoundActiveBits
impl Sync for GeneratedSoundActiveBits
impl Unpin for GeneratedSoundActiveBits
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>,