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