#[repr(C)]pub struct PioDcOpfBusView {
pub bus_id: usize,
pub analysis_row: usize,
pub source_row: usize,
pub has_source_row: bool,
pub active_power_demand: f64,
pub shunt_conductance: f64,
pub phase_shift_injection: f64,
}Expand description
One dense bus row in a DC OPF preparation.
Fields§
§bus_id: usize§analysis_row: usize§source_row: usize§has_source_row: bool§active_power_demand: f64§shunt_conductance: f64§phase_shift_injection: f64Trait Implementations§
Source§impl Clone for PioDcOpfBusView
impl Clone for PioDcOpfBusView
Source§fn clone(&self) -> PioDcOpfBusView
fn clone(&self) -> PioDcOpfBusView
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 PioDcOpfBusView
Auto Trait Implementations§
impl Freeze for PioDcOpfBusView
impl RefUnwindSafe for PioDcOpfBusView
impl Send for PioDcOpfBusView
impl Sync for PioDcOpfBusView
impl Unpin for PioDcOpfBusView
impl UnsafeUnpin for PioDcOpfBusView
impl UnwindSafe for PioDcOpfBusView
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