#[non_exhaustive]pub enum RemovedFlowMethod {
OutOfService,
Tree,
Reactance,
MinimumNorm,
}Expand description
How BusMerge::calc_removed_flows determined one flow.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
OutOfService
The element is out of service or an open switch, so it carries none.
Tree
The removed elements form a tree here, so Kirchhoff’s current law alone fixes the flow.
Reactance
The element lies on a loop, split by the elements’ own reactances.
MinimumNorm
The element lies on a loop of zero reactance elements, whose split no network quantity fixes; the minimum norm split is reported.
Trait Implementations§
Source§impl Clone for RemovedFlowMethod
impl Clone for RemovedFlowMethod
Source§fn clone(&self) -> RemovedFlowMethod
fn clone(&self) -> RemovedFlowMethod
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 moreimpl Copy for RemovedFlowMethod
Source§impl Debug for RemovedFlowMethod
impl Debug for RemovedFlowMethod
impl Eq for RemovedFlowMethod
Source§impl PartialEq for RemovedFlowMethod
impl PartialEq for RemovedFlowMethod
impl StructuralPartialEq for RemovedFlowMethod
Auto Trait Implementations§
impl Freeze for RemovedFlowMethod
impl RefUnwindSafe for RemovedFlowMethod
impl Send for RemovedFlowMethod
impl Sync for RemovedFlowMethod
impl Unpin for RemovedFlowMethod
impl UnsafeUnpin for RemovedFlowMethod
impl UnwindSafe for RemovedFlowMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more