[−][src]Struct tetanes::apu::Apu
Audio Processing Unit
Fields
irq_pending: bool
open_bus: u8
frame_sequencer: FrameSequencer
dmc: Dmc
Implementations
impl Apu
[src]
pub fn new() -> Self
[src]
pub fn load_mapper(&mut self, mapper: &mut MapperType)
[src]
pub fn samples(&self) -> &[f32]
[src]
pub fn clear_samples(&mut self)
[src]
pub fn set_speed(&mut self, speed: f32)
[src]
pub fn toggle_pulse1(&mut self)
[src]
pub fn toggle_pulse2(&mut self)
[src]
pub fn toggle_triangle(&mut self)
[src]
pub fn toggle_noise(&mut self)
[src]
pub fn toggle_dmc(&mut self)
[src]
Trait Implementations
impl Clocked for Apu
[src]
impl Clone for Apu
[src]
impl Debug for Apu
[src]
impl Default for Apu
[src]
impl MemRead for Apu
[src]
impl MemWrite for Apu
[src]
impl Powered for Apu
[src]
fn reset(&mut self)
[src]
fn power_on(&mut self)
[src]
fn power_off(&mut self)
[src]
fn power_cycle(&mut self)
[src]
impl Savable for Apu
[src]
Auto Trait Implementations
impl RefUnwindSafe for Apu
impl !Send for Apu
impl !Sync for Apu
impl Unpin for Apu
impl UnwindSafe for Apu
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,