pub struct SynthSpec {
pub topology: Topology,
pub n: usize,
pub r_over_x: f64,
pub mean_x: f64,
pub seed: u64,
}Fields§
§topology: Topology§n: usize§r_over_x: f64Branch series resistance to reactance ratio.
mean_x: f64Mean reactance per branch (p.u.).
seed: u64Random seed; identical seed → identical case.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SynthSpec
impl<'de> Deserialize<'de> for SynthSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SynthSpec
impl RefUnwindSafe for SynthSpec
impl Send for SynthSpec
impl Sync for SynthSpec
impl Unpin for SynthSpec
impl UnsafeUnpin for SynthSpec
impl UnwindSafe for SynthSpec
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