Skip to main content

BalancedCalculationInstance

Trait BalancedCalculationInstance 

Source
pub trait BalancedCalculationInstance: Clone + UpdateTarget<CalculationUpdate> {
    // Required method
    fn network(&self) -> &BalancedNetwork;
}
Expand description

A balanced calculation instance whose network can receive typed updates.

This trait lets one PowerIO operation cover the balanced power flow and optimal power flow instance types without copying their tables.

Required Methods§

Source

fn network(&self) -> &BalancedNetwork

The instance’s balanced electrical network.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§