#[non_exhaustive]pub struct ClosureInjection {
pub bus: BusId,
pub p_mw: f64,
pub q_mvar: f64,
pub flags: StatedBusFlags,
}Expand description
An injection that closes one bus’s stated-state mismatch.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bus: BusId§p_mw: f64Active injection, MW.
q_mvar: f64Reactive injection, MVAr.
flags: StatedBusFlagsTrait Implementations§
Source§impl Clone for ClosureInjection
impl Clone for ClosureInjection
impl Copy for ClosureInjection
Source§impl Debug for ClosureInjection
impl Debug for ClosureInjection
Source§impl PartialEq for ClosureInjection
impl PartialEq for ClosureInjection
impl StructuralPartialEq for ClosureInjection
Auto Trait Implementations§
impl Freeze for ClosureInjection
impl RefUnwindSafe for ClosureInjection
impl Send for ClosureInjection
impl Sync for ClosureInjection
impl Unpin for ClosureInjection
impl UnsafeUnpin for ClosureInjection
impl UnwindSafe for ClosureInjection
Blanket Implementations§
impl<T> Allocation for T
impl<T> Boilerplate 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