pub struct LinkBudget {
pub transmit_power_dbm: f64,
pub transmit_gain_dbi: f64,
pub receive_gain_dbi: f64,
pub other_losses_db: f64,
}Expand description
A link budget in decibels.
Fields§
§transmit_power_dbm: f64§transmit_gain_dbi: f64§receive_gain_dbi: f64§other_losses_db: f64Extra losses (cables, polarization, fading margin), dB.
Implementations§
Source§impl LinkBudget
impl LinkBudget
Sourcepub fn received_power_dbm(&self, path_loss_db: f64) -> f64
pub fn received_power_dbm(&self, path_loss_db: f64) -> f64
The received power in dBm for the given path loss (dB).
Sourcepub fn free_space_range(&self, sensitivity_dbm: f64, frequency: f64) -> f64
pub fn free_space_range(&self, sensitivity_dbm: f64, frequency: f64) -> f64
The largest free-space range (m) at which the received power reaches sensitivity_dbm.
Trait Implementations§
Source§impl Clone for LinkBudget
impl Clone for LinkBudget
impl Copy for LinkBudget
Source§impl Debug for LinkBudget
impl Debug for LinkBudget
Source§impl PartialEq for LinkBudget
impl PartialEq for LinkBudget
impl StructuralPartialEq for LinkBudget
Auto Trait Implementations§
impl Freeze for LinkBudget
impl RefUnwindSafe for LinkBudget
impl Send for LinkBudget
impl Sync for LinkBudget
impl Unpin for LinkBudget
impl UnsafeUnpin for LinkBudget
impl UnwindSafe for LinkBudget
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