Enum ApparentPowerOrder
#[non_exhaustive]pub enum ApparentPowerOrder {
FactorFirst,
CurrentFirst,
}Expand description
The order calc_line_apparent_power multiplies in. The orders are the
same product and can differ in the last place.
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.
FactorFirst
factor · V · I: every reader and writer that follows no other
tool’s rounding.
CurrentFirst
I · factor · V: PowSybl’s AbstractConverter.convertToMva
(I / 1000 · √3 · Vnom, the current passed in kiloamperes).
Trait Implementations§
§impl Clone for ApparentPowerOrder
impl Clone for ApparentPowerOrder
§fn clone(&self) -> ApparentPowerOrder
fn clone(&self) -> ApparentPowerOrder
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 ApparentPowerOrder
§impl Debug for ApparentPowerOrder
impl Debug for ApparentPowerOrder
impl Eq for ApparentPowerOrder
§impl PartialEq for ApparentPowerOrder
impl PartialEq for ApparentPowerOrder
impl StructuralPartialEq for ApparentPowerOrder
Auto Trait Implementations§
impl Freeze for ApparentPowerOrder
impl RefUnwindSafe for ApparentPowerOrder
impl Send for ApparentPowerOrder
impl Sync for ApparentPowerOrder
impl Unpin for ApparentPowerOrder
impl UnsafeUnpin for ApparentPowerOrder
impl UnwindSafe for ApparentPowerOrder
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