#[repr(C)]pub struct GB_apu_t__bindgen_ty_2 {
pub enable: bool,
pub pulse_length: u16,
pub shift: u8,
pub sample_length: u16,
pub length_enabled: bool,
pub sample_countdown: u16,
pub current_sample_index: u8,
pub current_sample_byte: u8,
pub wave_form_just_read: bool,
pub pulsed: bool,
pub bugged_read_countdown: u8,
}Fields§
§enable: bool§pulse_length: u16§shift: u8§sample_length: u16§length_enabled: bool§sample_countdown: u16§current_sample_index: u8§current_sample_byte: u8§wave_form_just_read: bool§pulsed: bool§bugged_read_countdown: u8Trait Implementations§
Source§impl Clone for GB_apu_t__bindgen_ty_2
impl Clone for GB_apu_t__bindgen_ty_2
Source§fn clone(&self) -> GB_apu_t__bindgen_ty_2
fn clone(&self) -> GB_apu_t__bindgen_ty_2
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GB_apu_t__bindgen_ty_2
impl Debug for GB_apu_t__bindgen_ty_2
impl Copy for GB_apu_t__bindgen_ty_2
Auto Trait Implementations§
impl Freeze for GB_apu_t__bindgen_ty_2
impl RefUnwindSafe for GB_apu_t__bindgen_ty_2
impl Send for GB_apu_t__bindgen_ty_2
impl Sync for GB_apu_t__bindgen_ty_2
impl Unpin for GB_apu_t__bindgen_ty_2
impl UnwindSafe for GB_apu_t__bindgen_ty_2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more