[−][src]Struct gba_types::ToneFrequencyControl
Implementations
impl ToneFrequencyControl[src]
#[must_use]pub fn frequency(self) -> u16[src]
#[must_use]pub fn stop_at_end(self) -> bool[src]
#[must_use]pub fn init(self) -> bool[src]
pub fn set_frequency(&mut self, frequency: u16)[src]
pub fn set_stop_at_end(&mut self, stop_at_end: bool)[src]
pub fn set_init(&mut self, init: bool)[src]
Trait Implementations
impl Clone for ToneFrequencyControl[src]
fn clone(&self) -> ToneFrequencyControl[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ToneFrequencyControl[src]
impl Debug for ToneFrequencyControl[src]
impl Default for ToneFrequencyControl[src]
fn default() -> ToneFrequencyControl[src]
impl Eq for ToneFrequencyControl[src]
impl Hash for ToneFrequencyControl[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 ToneFrequencyControl[src]
fn cmp(&self, other: &ToneFrequencyControl) -> Ordering[src]
#[must_use]fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<ToneFrequencyControl> for ToneFrequencyControl[src]
fn eq(&self, other: &ToneFrequencyControl) -> bool[src]
fn ne(&self, other: &ToneFrequencyControl) -> bool[src]
impl PartialOrd<ToneFrequencyControl> for ToneFrequencyControl[src]
fn partial_cmp(&self, other: &ToneFrequencyControl) -> Option<Ordering>[src]
fn lt(&self, other: &ToneFrequencyControl) -> bool[src]
fn le(&self, other: &ToneFrequencyControl) -> bool[src]
fn gt(&self, other: &ToneFrequencyControl) -> bool[src]
fn ge(&self, other: &ToneFrequencyControl) -> bool[src]
impl StructuralEq for ToneFrequencyControl[src]
impl StructuralPartialEq for ToneFrequencyControl[src]
Auto Trait Implementations
impl Send for ToneFrequencyControl
impl Sync for ToneFrequencyControl
impl Unpin for ToneFrequencyControl
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>,