#[non_exhaustive]pub struct PassivePrimitive<'a> {
pub family: PassiveFamily,
pub name: &'a str,
pub terminals: Vec<(&'a str, &'a str)>,
pub primitive: Vec<Vec<Complex64>>,
}Expand description
One passive element’s primitive admittance, siemens, with the bus terminal behind each primitive row.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.family: PassiveFamily§name: &'a str§terminals: Vec<(&'a str, &'a str)>(bus, terminal) of each primitive row, in primitive order.
primitive: Vec<Vec<Complex64>>Trait Implementations§
Source§impl<'a> Clone for PassivePrimitive<'a>
impl<'a> Clone for PassivePrimitive<'a>
Auto Trait Implementations§
impl<'a> Freeze for PassivePrimitive<'a>
impl<'a> RefUnwindSafe for PassivePrimitive<'a>
impl<'a> Send for PassivePrimitive<'a>
impl<'a> Sync for PassivePrimitive<'a>
impl<'a> Unpin for PassivePrimitive<'a>
impl<'a> UnsafeUnpin for PassivePrimitive<'a>
impl<'a> UnwindSafe for PassivePrimitive<'a>
Blanket Implementations§
impl<T> Allocation for T
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