#[repr(C)]pub struct pxtnVOICETONE {
pub smp_pos: f64,
pub offset_freq: f32,
pub env_volume: i32,
pub life_count: i32,
pub on_count: i32,
pub smp_count: i32,
pub env_start: i32,
pub env_pos: i32,
pub env_release_clock: i32,
pub smooth_volume: i32,
}Fields§
§smp_pos: f64§offset_freq: f32§env_volume: i32§life_count: i32§on_count: i32§smp_count: i32§env_start: i32§env_pos: i32§env_release_clock: i32§smooth_volume: i32Trait Implementations§
Source§impl Clone for pxtnVOICETONE
impl Clone for pxtnVOICETONE
Source§fn clone(&self) -> pxtnVOICETONE
fn clone(&self) -> pxtnVOICETONE
Returns a copy 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 pxtnVOICETONE
impl Debug for pxtnVOICETONE
impl Copy for pxtnVOICETONE
Auto Trait Implementations§
impl Freeze for pxtnVOICETONE
impl RefUnwindSafe for pxtnVOICETONE
impl Send for pxtnVOICETONE
impl Sync for pxtnVOICETONE
impl Unpin for pxtnVOICETONE
impl UnwindSafe for pxtnVOICETONE
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