pub struct Block {
pub name: String,
pub gain: f64,
pub noise_figure: f64,
pub output_p1db: Option<f64>,
}Fields§
§name: String§gain: f64§noise_figure: f64§output_p1db: Option<f64>Implementations§
Source§impl Block
impl Block
pub fn noise_temperature(&self) -> f64
pub fn output_power(&self, input_power: f64) -> f64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnwindSafe for Block
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