pub struct LICMPassRegistry { /* private fields */ }Implementations§
Source§impl LICMPassRegistry
impl LICMPassRegistry
pub fn new() -> Self
pub fn register(&mut self, config: LICMPassConfig)
pub fn enabled_passes(&self) -> Vec<&LICMPassConfig>
pub fn get_stats(&self, name: &str) -> Option<&LICMPassStats>
pub fn total_passes(&self) -> usize
pub fn enabled_count(&self) -> usize
pub fn update_stats( &mut self, name: &str, changes: u64, time_ms: u64, iter: u32, )
Auto Trait Implementations§
impl Freeze for LICMPassRegistry
impl RefUnwindSafe for LICMPassRegistry
impl Send for LICMPassRegistry
impl Sync for LICMPassRegistry
impl Unpin for LICMPassRegistry
impl UnsafeUnpin for LICMPassRegistry
impl UnwindSafe for LICMPassRegistry
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