pub struct Network {
pub name: String,
pub rank: i32,
pub frequency_unit: String,
pub parameter: String,
pub format: String,
pub resistance_string: String,
pub z0: f64,
pub comments: Vec<String>,
pub comments_after_option_line: Vec<String>,
pub f: Vec<f64>,
pub s: Vec<ParsedDataLine>,
}Fields§
§name: String§rank: i32§frequency_unit: String§parameter: String§format: String§resistance_string: String§z0: f64§comments: Vec<String>§comments_after_option_line: Vec<String>§f: Vec<f64>§s: Vec<ParsedDataLine>Implementations§
Source§impl Network
impl Network
pub fn new(file_path: String) -> Self
pub fn print_summary(&self)
pub fn f(&self) -> Vec<f64>
pub fn s_db(&self, j: i8, k: i8) -> Vec<FrequencyDB>
pub fn s_ri(&self, j: i8, k: i8) -> Vec<FrequencyRI>
pub fn s_ma(&self, j: i8, k: i8) -> Vec<FrequencyMA>
pub fn cascade(&self, other: &Network) -> Network
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Network
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin for Network
impl UnwindSafe for Network
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