#[repr(C)]pub struct PioContingencyComponentView {
pub id: PioComponentIdView,
pub row: usize,
pub in_service: bool,
}Expand description
One network element a contingency case bound to. id.component_type names
the table row indexes, and every element states it. id.local_id is the
element’s own identity, and its len is 0 when the network states none for
the row; read the len rather than the data pointer, which is
unspecified at that length. in_service is the element’s own flag as the
network states it before the case is applied.
Fields§
§id: PioComponentIdView§row: usize§in_service: boolTrait Implementations§
Source§impl Clone for PioContingencyComponentView
impl Clone for PioContingencyComponentView
Source§fn clone(&self) -> PioContingencyComponentView
fn clone(&self) -> PioContingencyComponentView
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 PioContingencyComponentView
Auto Trait Implementations§
impl !Send for PioContingencyComponentView
impl !Sync for PioContingencyComponentView
impl Freeze for PioContingencyComponentView
impl RefUnwindSafe for PioContingencyComponentView
impl Unpin for PioContingencyComponentView
impl UnsafeUnpin for PioContingencyComponentView
impl UnwindSafe for PioContingencyComponentView
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