#[non_exhaustive]pub struct ThreeWindingTransformerTerminalActivePower {
pub p_mw: [f64; 3],
}Expand description
The calculation types used by solver consumers. The full problem
vocabulary lives in powerio_prob; these types sit at the facade root so
a consumer does not need a second PowerIO dependency to name its boundary.
Active power at the three terminals of one three winding transformer, in
the transformer’s declared winding order. Positive values enter the
transformer.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.p_mw: [f64; 3]Implementations§
Source§impl ThreeWindingTransformerTerminalActivePower
impl ThreeWindingTransformerTerminalActivePower
pub const fn new(p_mw: [f64; 3]) -> ThreeWindingTransformerTerminalActivePower
Trait Implementations§
Source§impl Clone for ThreeWindingTransformerTerminalActivePower
impl Clone for ThreeWindingTransformerTerminalActivePower
Source§fn clone(&self) -> ThreeWindingTransformerTerminalActivePower
fn clone(&self) -> ThreeWindingTransformerTerminalActivePower
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 ThreeWindingTransformerTerminalActivePower
Source§impl Default for ThreeWindingTransformerTerminalActivePower
impl Default for ThreeWindingTransformerTerminalActivePower
Source§fn default() -> ThreeWindingTransformerTerminalActivePower
fn default() -> ThreeWindingTransformerTerminalActivePower
Returns the “default value” for a type. Read more
Source§impl PartialEq for ThreeWindingTransformerTerminalActivePower
impl PartialEq for ThreeWindingTransformerTerminalActivePower
Source§fn eq(&self, other: &ThreeWindingTransformerTerminalActivePower) -> bool
fn eq(&self, other: &ThreeWindingTransformerTerminalActivePower) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ThreeWindingTransformerTerminalActivePower
Auto Trait Implementations§
impl Freeze for ThreeWindingTransformerTerminalActivePower
impl RefUnwindSafe for ThreeWindingTransformerTerminalActivePower
impl Send for ThreeWindingTransformerTerminalActivePower
impl Sync for ThreeWindingTransformerTerminalActivePower
impl Unpin for ThreeWindingTransformerTerminalActivePower
impl UnsafeUnpin for ThreeWindingTransformerTerminalActivePower
impl UnwindSafe for ThreeWindingTransformerTerminalActivePower
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