#[non_exhaustive]pub struct RemovedFlows {
pub branches: Vec<RemovedFlow>,
pub switches: Vec<RemovedFlow>,
pub diagnostics: Vec<Diagnostic>,
}Expand description
The result of BusMerge::calc_removed_flows.
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.branches: Vec<RemovedFlow>One flow per BusMerge::removed_branches entry, in that order.
switches: Vec<RemovedFlow>One flow per BusMerge::removed_switches entry, in that order.
diagnostics: Vec<Diagnostic>Loops split by minimum norm and groups whose injections do not balance.
Trait Implementations§
Source§impl Clone for RemovedFlows
impl Clone for RemovedFlows
Source§fn clone(&self) -> RemovedFlows
fn clone(&self) -> RemovedFlows
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 RemovedFlows
impl Debug for RemovedFlows
Source§impl PartialEq for RemovedFlows
impl PartialEq for RemovedFlows
impl StructuralPartialEq for RemovedFlows
Auto Trait Implementations§
impl Freeze for RemovedFlows
impl RefUnwindSafe for RemovedFlows
impl Send for RemovedFlows
impl Sync for RemovedFlows
impl Unpin for RemovedFlows
impl UnsafeUnpin for RemovedFlows
impl UnwindSafe for RemovedFlows
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