pub struct Stats {
pub add_bytes: usize,
pub run_bytes: usize,
pub copy_bytes: usize,
pub add_cnt: usize,
pub run_cnt: usize,
pub copy_s_cnt: usize,
pub copy_t_cnt: usize,
pub copy_q_cnt: usize,
pub output_size: usize,
pub contains_vcd_target: bool,
}Expand description
Stats about the patch file.
Fields§
§add_bytes: usize§run_bytes: usize§copy_bytes: usize§add_cnt: usize§run_cnt: usize§copy_s_cnt: usize§copy_t_cnt: usize§copy_q_cnt: usize§output_size: usize§contains_vcd_target: boolImplementations§
Source§impl Stats
impl Stats
pub fn new() -> Self
pub fn add(&mut self, len: usize)
pub fn run(&mut self, len: usize)
pub fn copy_s(&mut self, len: usize)
pub fn copy_t(&mut self, len: usize)
pub fn copy_q(&mut self, len_in_o: usize)
pub fn vcd_trgt(&mut self)
pub fn has_copy(&self) -> bool
Trait Implementations§
impl Copy for Stats
impl Eq for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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