pub struct FftStream { /* private fields */ }Expand description
Takes a stream of data, runs an FFT on it, and outputs it as a stream. The consumer of the stream needs to know what the FFT size is, or it won’t be able to make sense of it.
Implementations§
Source§impl FftStream
impl FftStream
Sourcepub fn new(src: ReadStream<Complex>, size: usize) -> (Self, ReadStream<Complex>)
pub fn new(src: ReadStream<Complex>, size: usize) -> (Self, ReadStream<Complex>)
Create a new FftStream.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FftStream
impl !RefUnwindSafe for FftStream
impl Send for FftStream
impl Sync for FftStream
impl Unpin for FftStream
impl UnsafeUnpin for FftStream
impl !UnwindSafe for FftStream
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more