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