pub enum BandlimitedWaveform {
Sine,
Saw,
Pulse {
duty: f32,
},
Triangle,
}Expand description
Periodic waveform generated by BandlimitedOscillator.
Variants§
Sine
A sinusoid, which is already bandlimited.
Saw
A rising sawtooth with its discontinuity corrected by the selected policy.
Pulse
A pulse wave with a duty cycle in the open interval (0, 1).
Triangle
A triangle obtained by integrating a corrected square wave.
Trait Implementations§
Source§impl Clone for BandlimitedWaveform
impl Clone for BandlimitedWaveform
Source§fn clone(&self) -> BandlimitedWaveform
fn clone(&self) -> BandlimitedWaveform
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BandlimitedWaveform
Source§impl Debug for BandlimitedWaveform
impl Debug for BandlimitedWaveform
Source§impl PartialEq for BandlimitedWaveform
impl PartialEq for BandlimitedWaveform
impl StructuralPartialEq for BandlimitedWaveform
Auto Trait Implementations§
impl Freeze for BandlimitedWaveform
impl RefUnwindSafe for BandlimitedWaveform
impl Send for BandlimitedWaveform
impl Sync for BandlimitedWaveform
impl Unpin for BandlimitedWaveform
impl UnsafeUnpin for BandlimitedWaveform
impl UnwindSafe for BandlimitedWaveform
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