pub struct Block {
pub name: String,
pub gain_db: f64,
pub noise_figure_db: f64,
pub output_p1db_dbm: Option<f64>,
}Fields§
§name: String§gain_db: f64§noise_figure_db: f64§output_p1db_dbm: Option<f64>Implementations§
Source§impl Block
impl Block
pub fn noise_temperature(&self) -> f64
pub fn noise_factor(&self) -> f64
pub fn input_noise_power(&self, bandwidth: f64) -> f64
pub fn output_noise_power(&self, bandwidth: f64) -> f64
pub fn output_power(&self, input_power: f64) -> f64
pub fn power_gain(&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