Struct pxtone_sys::pxtnPulse_Oscillator
source · [−]#[repr(C)]pub struct pxtnPulse_Oscillator {
pub _p_point: *mut pxtnPOINT,
pub _point_num: i32,
pub _point_reso: i32,
pub _volume: i32,
pub _sample_num: i32,
}Fields
_p_point: *mut pxtnPOINT_point_num: i32_point_reso: i32_volume: i32_sample_num: i32Implementations
sourceimpl pxtnPulse_Oscillator
impl pxtnPulse_Oscillator
pub unsafe fn ReadyGetSample(
&mut self,
p_point: *mut pxtnPOINT,
point_num: i32,
volume: i32,
sample_num: i32,
point_reso: i32
)
pub unsafe fn GetOneSample_Overtone(&mut self, index: i32) -> f64
pub unsafe fn GetOneSample_Coodinate(&mut self, index: i32) -> f64
pub unsafe fn new() -> Self
Trait Implementations
sourceimpl Clone for pxtnPulse_Oscillator
impl Clone for pxtnPulse_Oscillator
sourcefn clone(&self) -> pxtnPulse_Oscillator
fn clone(&self) -> pxtnPulse_Oscillator
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for pxtnPulse_Oscillator
impl Debug for pxtnPulse_Oscillator
impl Copy for pxtnPulse_Oscillator
Auto Trait Implementations
impl RefUnwindSafe for pxtnPulse_Oscillator
impl !Send for pxtnPulse_Oscillator
impl !Sync for pxtnPulse_Oscillator
impl Unpin for pxtnPulse_Oscillator
impl UnwindSafe for pxtnPulse_Oscillator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more