pub struct TransmissionCore {
pub buses: usize,
pub branches: usize,
pub generators: usize,
pub loads: usize,
pub shunts: usize,
pub load_p: i64,
pub load_q: i64,
pub gen_p: i64,
pub base_mva: i64,
}Expand description
Element counts and the totals that must survive any conversion.
Fields§
§buses: usize§branches: usize§generators: usize§loads: usize§shunts: usize§load_p: i64§load_q: i64§gen_p: i64§base_mva: i64Trait Implementations§
Source§impl Clone for TransmissionCore
impl Clone for TransmissionCore
Source§fn clone(&self) -> TransmissionCore
fn clone(&self) -> TransmissionCore
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 TransmissionCore
impl Debug for TransmissionCore
impl Eq for TransmissionCore
Source§impl PartialEq for TransmissionCore
impl PartialEq for TransmissionCore
impl StructuralPartialEq for TransmissionCore
Auto Trait Implementations§
impl Freeze for TransmissionCore
impl RefUnwindSafe for TransmissionCore
impl Send for TransmissionCore
impl Sync for TransmissionCore
impl Unpin for TransmissionCore
impl UnsafeUnpin for TransmissionCore
impl UnwindSafe for TransmissionCore
Blanket Implementations§
impl<T> Allocation 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.