pub struct CountCfg {
pub filters: Vec<String>,
pub stats: Arc<Mutex<Count>>,
}
Expand description
Configuration options for counting different types of nodes in a code.
Fields§
§filters: Vec<String>
Types of nodes to count
stats: Arc<Mutex<Count>>
Number of nodes of a certain type counted by each thread
Auto Trait Implementations§
impl Freeze for CountCfg
impl RefUnwindSafe for CountCfg
impl Send for CountCfg
impl Sync for CountCfg
impl Unpin for CountCfg
impl UnwindSafe for CountCfg
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