#[non_exhaustive]pub struct ZeroImpedanceReduction {
pub removed: usize,
pub diagnostics: Vec<Diagnostic>,
}Expand description
What reduce_zero_impedance_with_report
did: the number of branches it removed and the merge’s diagnostics, or
the error that left the network unchanged.
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.removed: usizeBranches removed, the jumpers and any branch they shorted. Zero when the merge failed.
diagnostics: Vec<Diagnostic>What the merge changed, or the error that stopped it.
Trait Implementations§
Source§impl Clone for ZeroImpedanceReduction
impl Clone for ZeroImpedanceReduction
Source§fn clone(&self) -> ZeroImpedanceReduction
fn clone(&self) -> ZeroImpedanceReduction
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 ZeroImpedanceReduction
impl Debug for ZeroImpedanceReduction
Source§impl Default for ZeroImpedanceReduction
impl Default for ZeroImpedanceReduction
Source§fn default() -> ZeroImpedanceReduction
fn default() -> ZeroImpedanceReduction
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ZeroImpedanceReduction
impl RefUnwindSafe for ZeroImpedanceReduction
impl Send for ZeroImpedanceReduction
impl Sync for ZeroImpedanceReduction
impl Unpin for ZeroImpedanceReduction
impl UnsafeUnpin for ZeroImpedanceReduction
impl UnwindSafe for ZeroImpedanceReduction
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