#[repr(C)]pub struct PioBalancedBusView {Show 18 fields
pub component_id: PioStringView,
pub has_component_id: bool,
pub id: usize,
pub bus_type: PioStringView,
pub vm_pu: f64,
pub va_degrees: f64,
pub base_kv: f64,
pub vmax_pu: f64,
pub vmin_pu: f64,
pub has_emergency_voltage_limits: bool,
pub emergency_vmax_pu: f64,
pub emergency_vmin_pu: f64,
pub area: usize,
pub zone: usize,
pub name: PioStringView,
pub has_name: bool,
pub location: PioBalancedLocationView,
pub has_location: bool,
}Expand description
One balanced bus. String and coefficient spans borrow from the network.
Fields§
§component_id: PioStringView§has_component_id: bool§id: usize§bus_type: PioStringView§vm_pu: f64§va_degrees: f64§base_kv: f64§vmax_pu: f64§vmin_pu: f64§has_emergency_voltage_limits: bool§emergency_vmax_pu: f64§emergency_vmin_pu: f64§area: usize§zone: usize§name: PioStringView§has_name: bool§location: PioBalancedLocationView§has_location: boolTrait Implementations§
Source§impl Clone for PioBalancedBusView
impl Clone for PioBalancedBusView
Source§fn clone(&self) -> PioBalancedBusView
fn clone(&self) -> PioBalancedBusView
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 PioBalancedBusView
Auto Trait Implementations§
impl !Send for PioBalancedBusView
impl !Sync for PioBalancedBusView
impl Freeze for PioBalancedBusView
impl RefUnwindSafe for PioBalancedBusView
impl Unpin for PioBalancedBusView
impl UnsafeUnpin for PioBalancedBusView
impl UnwindSafe for PioBalancedBusView
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