#[repr(C)]pub struct PioVoltageSourceView {
pub name: PioStringView,
pub bus: PioStringView,
pub terminal_map_count: usize,
pub voltage_magnitude_v: PioF64View,
pub voltage_angle_rad: PioF64View,
pub energy_cost_rate_per_kwh: PioF64View,
pub has_energy_cost_rate: bool,
}Expand description
One multiconductor voltage source.
Fields§
§name: PioStringView§bus: PioStringView§terminal_map_count: usize§voltage_magnitude_v: PioF64View§voltage_angle_rad: PioF64View§energy_cost_rate_per_kwh: PioF64ViewDollars/kWh in phase order, excluding neutral terminals.
has_energy_cost_rate: boolTrait Implementations§
Source§impl Clone for PioVoltageSourceView
impl Clone for PioVoltageSourceView
Source§fn clone(&self) -> PioVoltageSourceView
fn clone(&self) -> PioVoltageSourceView
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 PioVoltageSourceView
Auto Trait Implementations§
impl !Send for PioVoltageSourceView
impl !Sync for PioVoltageSourceView
impl Freeze for PioVoltageSourceView
impl RefUnwindSafe for PioVoltageSourceView
impl Unpin for PioVoltageSourceView
impl UnsafeUnpin for PioVoltageSourceView
impl UnwindSafe for PioVoltageSourceView
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