pub struct RtlSdrDecode { /* private fields */ }Expand description
Decode RTL-SDR’s byte based format into Complex I/Q.
Implementations§
Source§impl RtlSdrDecode
impl RtlSdrDecode
Sourcepub fn new(
src: ReadStream<u8>,
) -> (Self, <WriteStream<Complex> as StreamReadSide>::ReadSide)
pub fn new( src: ReadStream<u8>, ) -> (Self, <WriteStream<Complex> as StreamReadSide>::ReadSide)
Create a new block.
The arguments to this function are the mandatory input streams, and the mandatory parameters.
The return values are the block itself, plus any mandatory output streams.
This function was generated by a macro.
Trait Implementations§
Source§impl Block for RtlSdrDecode
impl Block for RtlSdrDecode
Source§impl BlockName for RtlSdrDecode
impl BlockName for RtlSdrDecode
Source§fn block_name(&self) -> &str
fn block_name(&self) -> &str
Name of block Read more
Auto Trait Implementations§
impl Freeze for RtlSdrDecode
impl RefUnwindSafe for RtlSdrDecode
impl Send for RtlSdrDecode
impl Sync for RtlSdrDecode
impl Unpin for RtlSdrDecode
impl UnwindSafe for RtlSdrDecode
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