pub struct L4PassRegistry { /* private fields */ }Implementations§
Source§impl L4PassRegistry
impl L4PassRegistry
pub fn new() -> Self
pub fn register(&mut self, config: L4PassConfig)
pub fn enabled_passes(&self) -> Vec<&L4PassConfig>
pub fn get_stats(&self, name: &str) -> Option<&L4PassStats>
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 L4PassRegistry
impl RefUnwindSafe for L4PassRegistry
impl Send for L4PassRegistry
impl Sync for L4PassRegistry
impl Unpin for L4PassRegistry
impl UnsafeUnpin for L4PassRegistry
impl UnwindSafe for L4PassRegistry
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