#[repr(u8)]pub enum RfPathFilter {
Bypass = 0,
LowPass = 1,
HighPass = 2,
}Expand description
RF Filter Setting Option.
Use when calling HackRf::set_freq_explicit.
Variants§
Bypass = 0
No filter selected - mixer bypassed.
LowPass = 1
Low pass filter, f_c = f_IF - f_LO
HighPass = 2
High pass filter, f_c = f_IF + f_LO
Trait Implementations§
Source§impl Clone for RfPathFilter
impl Clone for RfPathFilter
Source§fn clone(&self) -> RfPathFilter
fn clone(&self) -> RfPathFilter
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 RfPathFilter
Source§impl Debug for RfPathFilter
impl Debug for RfPathFilter
Source§impl Display for RfPathFilter
impl Display for RfPathFilter
impl Eq for RfPathFilter
Source§impl PartialEq for RfPathFilter
impl PartialEq for RfPathFilter
Source§fn eq(&self, other: &RfPathFilter) -> bool
fn eq(&self, other: &RfPathFilter) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RfPathFilter
Auto Trait Implementations§
impl Freeze for RfPathFilter
impl RefUnwindSafe for RfPathFilter
impl Send for RfPathFilter
impl Sync for RfPathFilter
impl Unpin for RfPathFilter
impl UnsafeUnpin for RfPathFilter
impl UnwindSafe for RfPathFilter
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