#[repr(C)]pub struct PioDcBusSpecificationView {
pub bus_id: usize,
pub kind: PioStringView,
pub net_active_power_mw: f64,
pub voltage_angle_degrees: f64,
}Expand description
One bus boundary specification in a DC power flow instance.
Fields§
§bus_id: usize§kind: PioStringView§net_active_power_mw: f64§voltage_angle_degrees: f64Trait Implementations§
Source§impl Clone for PioDcBusSpecificationView
impl Clone for PioDcBusSpecificationView
Source§fn clone(&self) -> PioDcBusSpecificationView
fn clone(&self) -> PioDcBusSpecificationView
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 PioDcBusSpecificationView
Auto Trait Implementations§
impl !Send for PioDcBusSpecificationView
impl !Sync for PioDcBusSpecificationView
impl Freeze for PioDcBusSpecificationView
impl RefUnwindSafe for PioDcBusSpecificationView
impl Unpin for PioDcBusSpecificationView
impl UnsafeUnpin for PioDcBusSpecificationView
impl UnwindSafe for PioDcBusSpecificationView
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