pub struct ReuseStats {
pub reuse_pairs: usize,
pub borrows_inferred: usize,
pub rc_ops_eliminated: usize,
pub in_place_updates: usize,
pub unique_ownership: usize,
pub vars_analyzed: usize,
}Expand description
Statistics for reuse optimization
Fields§
§reuse_pairs: usizeNumber of reset-reuse pairs found
borrows_inferred: usizeNumber of borrows inferred
rc_ops_eliminated: usizeNumber of RC operations eliminated
in_place_updates: usizeNumber of in-place updates enabled
unique_ownership: usizeNumber of unique ownership inferences
vars_analyzed: usizeNumber of variables analyzed
Trait Implementations§
Source§impl Clone for ReuseStats
impl Clone for ReuseStats
Source§fn clone(&self) -> ReuseStats
fn clone(&self) -> ReuseStats
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 moreSource§impl Debug for ReuseStats
impl Debug for ReuseStats
Source§impl Default for ReuseStats
impl Default for ReuseStats
Source§fn default() -> ReuseStats
fn default() -> ReuseStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReuseStats
impl RefUnwindSafe for ReuseStats
impl Send for ReuseStats
impl Sync for ReuseStats
impl Unpin for ReuseStats
impl UnsafeUnpin for ReuseStats
impl UnwindSafe for ReuseStats
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