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