pub trait ExpansionAudioChip {
// Provided methods
fn cpu_write(&mut self, _addr: u16, _data: u8) { ... }
fn cpu_read(&mut self, _addr: u16) -> Option<u8> { ... }
fn tick_cpu_cycle(&mut self) { ... }
fn clock_quarter_frame(&mut self) { ... }
fn clock_half_frame(&mut self) { ... }
fn irq_line(&self) -> bool { ... }
fn output_sample(&self) -> f32 { ... }
}Provided Methods§
fn cpu_write(&mut self, _addr: u16, _data: u8)
fn cpu_read(&mut self, _addr: u16) -> Option<u8>
fn tick_cpu_cycle(&mut self)
fn clock_quarter_frame(&mut self)
fn clock_half_frame(&mut self)
fn irq_line(&self) -> bool
fn output_sample(&self) -> f32
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".