#[non_exhaustive]pub enum AnalysisBranchSource {
Branch {
row: usize,
},
ThreeWindingTransformerWinding {
transformer_row: usize,
winding: usize,
},
}Expand description
The source component represented by one branch row in a lowered analysis network.
Ordinary branches map to their row in BalancedNetwork::branches(). Each
in service three winding transformer contributes three analysis branches,
one for each winding in the transformer’s declared terminal order. Those
rows stay distinct from the source branch table.
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.
Trait Implementations§
Source§impl Clone for AnalysisBranchSource
impl Clone for AnalysisBranchSource
Source§fn clone(&self) -> AnalysisBranchSource
fn clone(&self) -> AnalysisBranchSource
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 AnalysisBranchSource
Source§impl Debug for AnalysisBranchSource
impl Debug for AnalysisBranchSource
Source§impl<'de> Deserialize<'de> for AnalysisBranchSource
impl<'de> Deserialize<'de> for AnalysisBranchSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AnalysisBranchSource
Source§impl PartialEq for AnalysisBranchSource
impl PartialEq for AnalysisBranchSource
Source§fn eq(&self, other: &AnalysisBranchSource) -> bool
fn eq(&self, other: &AnalysisBranchSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AnalysisBranchSource
impl Serialize for AnalysisBranchSource
impl StructuralPartialEq for AnalysisBranchSource
Auto Trait Implementations§
impl Freeze for AnalysisBranchSource
impl RefUnwindSafe for AnalysisBranchSource
impl Send for AnalysisBranchSource
impl Sync for AnalysisBranchSource
impl Unpin for AnalysisBranchSource
impl UnsafeUnpin for AnalysisBranchSource
impl UnwindSafe for AnalysisBranchSource
Blanket Implementations§
impl<T> Allocation for T
impl<T> Boilerplate 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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