pub struct AssetCache {
pub entries: Vec<CacheEntry>,
pub max_bytes: usize,
pub total_bytes: usize,
pub tick: u64,
pub hits: u64,
pub misses: u64,
}Fields§
§entries: Vec<CacheEntry>§max_bytes: usize§total_bytes: usize§tick: u64§hits: u64§misses: u64Auto Trait Implementations§
impl Freeze for AssetCache
impl RefUnwindSafe for AssetCache
impl Send for AssetCache
impl Sync for AssetCache
impl Unpin for AssetCache
impl UnsafeUnpin for AssetCache
impl UnwindSafe for AssetCache
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