[][src]Struct gba_types::ToneSweep

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

Implementations

impl ToneSweep[src]

#[must_use]pub fn sweep_shift_count(self) -> u8[src]

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

#[must_use]pub fn sweep_time_chunk(self) -> u8[src]

pub fn set_sweep_shift_count(&mut self, sweep_shift_count: u8)[src]

pub fn set_decreasing_sweep(&mut self, decreasing_sweep: bool)[src]

pub fn set_sweep_time_chunk(&mut self, sweep_time_chunk: u8)[src]

Trait Implementations

impl Clone for ToneSweep[src]

impl Copy for ToneSweep[src]

impl Debug for ToneSweep[src]

impl Default for ToneSweep[src]

impl Eq for ToneSweep[src]

impl Hash for ToneSweep[src]

impl Ord for ToneSweep[src]

impl PartialEq<ToneSweep> for ToneSweep[src]

impl PartialOrd<ToneSweep> for ToneSweep[src]

impl StructuralEq for ToneSweep[src]

impl StructuralPartialEq for ToneSweep[src]

Auto Trait Implementations

impl Send for ToneSweep

impl Sync for ToneSweep

impl Unpin for ToneSweep

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.