pub struct ClassCache { /* private fields */ }
Expand description
Caches generated classes for performance
Implementations§
Source§impl ClassCache
impl ClassCache
Sourcepub fn total_requests(&self) -> u64
pub fn total_requests(&self) -> u64
Get total number of requests
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ClassCache
impl !RefUnwindSafe for ClassCache
impl Send for ClassCache
impl Sync for ClassCache
impl Unpin for ClassCache
impl !UnwindSafe for ClassCache
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