pub struct BiasTSetting {
pub tx: BiasTMode,
pub rx: BiasTMode,
pub off: BiasTMode,
}Expand description
Configuration settings for the Bias-T switch.
Used when calling HackRf::set_user_bias_t_opts.
Fields§
§tx: BiasTModeWhat mode change to apply when switching to transmit.
rx: BiasTModeWhat mode change to apply when switching to receive.
off: BiasTModeWhat mode change to apply when switching off.
Trait Implementations§
Source§impl Clone for BiasTSetting
impl Clone for BiasTSetting
Source§fn clone(&self) -> BiasTSetting
fn clone(&self) -> BiasTSetting
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BiasTSetting
impl RefUnwindSafe for BiasTSetting
impl Send for BiasTSetting
impl Sync for BiasTSetting
impl Unpin for BiasTSetting
impl UnwindSafe for BiasTSetting
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