pub struct Inside {
pub groups: Vec<Group>,
pub items: Vec<Item>,
pub links: Vec<Link>,
pub findings: Counts,
pub layouts: Vec<Layout>,
}Expand description
Inside one substation: its equipment and the connectivity nodes (else topological nodes) their terminals meet at, by voltage level; equipment reaching other nodes (lines, mostly) as an item with its far ends.
Fields§
§groups: Vec<Group>§items: Vec<Item>§links: Vec<Link>§findings: CountsFindings on the substation’s node that no item stands for: the substation, its voltage levels and bays, …
layouts: Vec<Layout>Positions from each DL diagram that draws its items, by item index.
Implementations§
Source§impl Inside
impl Inside
Sourcepub fn layout_json(&self, l: &Layout) -> Value
pub fn layout_json(&self, l: &Layout) -> Value
A layout of its items, as the view takes it: positions and sizes by item, routes by terminal.
Sourcepub fn layout_from_json(&self, v: &Value) -> Layout
pub fn layout_from_json(&self, v: &Value) -> Layout
A layout of its items from the view’s JSON (as Inside::layout_json
writes it); what names no item or terminal of it is left out.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Inside
impl Freeze for Inside
impl Move for Inside
impl RefUnwindSafe for Inside
impl Send for Inside
impl Sync for Inside
impl Unpin for Inside
impl UnsafeUnpin for Inside
impl UnwindSafe for Inside
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