pub struct NoTuner {}Trait Implementations§
Source§impl Tuner for NoTuner
impl Tuner for NoTuner
fn init(&mut self, _handle: &Device) -> Result<()>
fn get_info(&self) -> Result<TunerInfo>
fn get_gains(&self) -> Result<Vec<i32>>
fn read_gain(&self, _handle: &Device) -> Result<i32>
fn set_gain(&mut self, _handle: &Device, _gain: TunerGain) -> Result<()>
fn set_freq(&mut self, _handle: &Device, _freq: u32) -> Result<()>
fn set_bandwidth( &mut self, _handle: &Device, _bw: u32, _rate: u32, ) -> Result<()>
fn get_xtal_freq(&self) -> Result<u32>
fn set_xtal_freq(&mut self, _freq: u32) -> Result<()>
fn get_if_freq(&self) -> Result<u32>
fn exit(&mut self, _handle: &Device) -> Result<()>
Auto Trait Implementations§
impl Freeze for NoTuner
impl RefUnwindSafe for NoTuner
impl Send for NoTuner
impl Sync for NoTuner
impl Unpin for NoTuner
impl UnsafeUnpin for NoTuner
impl UnwindSafe for NoTuner
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