#[non_exhaustive]pub struct ZeroImpedanceMerge {
pub merged_buses: BTreeMap<BusId, BusId>,
pub removed_branches: Vec<String>,
}Expand description
What one merge did: which buses now name which surviving bus, and which branches the merge removed.
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.merged_buses: BTreeMap<BusId, BusId>Every merged bus to the bus that now carries it. Buses that survived unchanged are absent.
removed_branches: Vec<String>The removed zero impedance branches, by stable identity
(uid, else branches:{row} of the source network).
Trait Implementations§
Source§impl Clone for ZeroImpedanceMerge
impl Clone for ZeroImpedanceMerge
Source§fn clone(&self) -> ZeroImpedanceMerge
fn clone(&self) -> ZeroImpedanceMerge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ZeroImpedanceMerge
impl Debug for ZeroImpedanceMerge
Source§impl Default for ZeroImpedanceMerge
impl Default for ZeroImpedanceMerge
Source§fn default() -> ZeroImpedanceMerge
fn default() -> ZeroImpedanceMerge
Returns the “default value” for a type. Read more
Source§impl PartialEq for ZeroImpedanceMerge
impl PartialEq for ZeroImpedanceMerge
Source§fn eq(&self, other: &ZeroImpedanceMerge) -> bool
fn eq(&self, other: &ZeroImpedanceMerge) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ZeroImpedanceMerge
Auto Trait Implementations§
impl Freeze for ZeroImpedanceMerge
impl RefUnwindSafe for ZeroImpedanceMerge
impl Send for ZeroImpedanceMerge
impl Sync for ZeroImpedanceMerge
impl Unpin for ZeroImpedanceMerge
impl UnsafeUnpin for ZeroImpedanceMerge
impl UnwindSafe for ZeroImpedanceMerge
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