#[non_exhaustive]pub enum MatrixKind {
BPrime,
BDoublePrime,
YbusG,
YbusB,
Lacpf,
Adjacency,
}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.
BPrime
FDPF B’ (shuntless, taps=1, shifts=0).
BDoublePrime
FDPF B’’ (with shunts, taps; r=0 if BX scheme).
YbusG
Re(Y_bus) — full conductance matrix.
YbusB
-Im(Y_bus) — full susceptance Laplacian (positive convention).
Lacpf
LACPF block: [[G, -B], [-B, -G]], 2n × 2n indefinite.
Adjacency
0/1 bus adjacency matrix.
Implementations§
Trait Implementations§
Source§impl Clone for MatrixKind
impl Clone for MatrixKind
Source§fn clone(&self) -> MatrixKind
fn clone(&self) -> MatrixKind
Returns a duplicate of the value. Read more
1.0.0 · 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 MatrixKind
impl Debug for MatrixKind
Source§impl<'de> Deserialize<'de> for MatrixKind
impl<'de> Deserialize<'de> for MatrixKind
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
Source§impl PartialEq for MatrixKind
impl PartialEq for MatrixKind
Source§impl Serialize for MatrixKind
impl Serialize for MatrixKind
impl Copy for MatrixKind
impl Eq for MatrixKind
impl StructuralPartialEq for MatrixKind
Auto Trait Implementations§
impl Freeze for MatrixKind
impl RefUnwindSafe for MatrixKind
impl Send for MatrixKind
impl Sync for MatrixKind
impl Unpin for MatrixKind
impl UnsafeUnpin for MatrixKind
impl UnwindSafe for MatrixKind
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