pub struct SquareWave { /* private fields */ }Expand description
A bipolar rectangular wave: +1 while the phase is within the duty fraction of the cycle
(starting at phase 0, like the positive half of a sine) and -1 for the rest.
Implementations§
Source§impl SquareWave
impl SquareWave
Trait Implementations§
Source§impl Clone for SquareWave
impl Clone for SquareWave
Source§impl Debug for SquareWave
impl Debug for SquareWave
Source§impl Waveform for SquareWave
impl Waveform for SquareWave
Auto Trait Implementations§
impl Freeze for SquareWave
impl RefUnwindSafe for SquareWave
impl Send for SquareWave
impl Sync for SquareWave
impl Unpin for SquareWave
impl UnsafeUnpin for SquareWave
impl UnwindSafe for SquareWave
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