pub struct GridfmOutputs {
pub dir: PathBuf,
pub files: Vec<PathBuf>,
pub dropped_zero_impedance: usize,
pub degenerate_cost_gens: usize,
}Expand description
What write_gridfm_dataset wrote, plus the counts of columns it had to zero
(see the manifest) so a caller can surface them.
Fields§
§dir: PathBuf§files: Vec<PathBuf>§dropped_zero_impedance: usizeBranches with r² + x² = 0, whose admittance/flow columns were zeroed.
degenerate_cost_gens: usizeGenerators whose cost row gridfm couldn’t represent, whose cp* columns
were zeroed.
Trait Implementations§
Source§impl Clone for GridfmOutputs
impl Clone for GridfmOutputs
Source§fn clone(&self) -> GridfmOutputs
fn clone(&self) -> GridfmOutputs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GridfmOutputs
impl RefUnwindSafe for GridfmOutputs
impl Send for GridfmOutputs
impl Sync for GridfmOutputs
impl Unpin for GridfmOutputs
impl UnsafeUnpin for GridfmOutputs
impl UnwindSafe for GridfmOutputs
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