pub struct KSweepReport {
pub n: usize,
pub m: usize,
pub h: usize,
pub w: usize,
pub ref_total_flips: usize,
pub ref_total_cost: f64,
pub entries: Vec<KSweepEntry>,
}Fields§
§n: usize§m: usize§h: usize§w: usize§ref_total_flips: usize§ref_total_cost: f64§entries: Vec<KSweepEntry>Implementations§
Source§impl KSweepReport
impl KSweepReport
Sourcepub fn to_markdown(&self) -> String
pub fn to_markdown(&self) -> String
Format the sweep report as a markdown table suitable for pasting into the design note.
Trait Implementations§
Source§impl Clone for KSweepReport
impl Clone for KSweepReport
Source§fn clone(&self) -> KSweepReport
fn clone(&self) -> KSweepReport
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 KSweepReport
impl RefUnwindSafe for KSweepReport
impl Send for KSweepReport
impl Sync for KSweepReport
impl Unpin for KSweepReport
impl UnsafeUnpin for KSweepReport
impl UnwindSafe for KSweepReport
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