pub struct ImageCacheStatus {
pub pending: bool,
pub keep_alive: bool,
pub live: bool,
}Expand description
An image may be live while also pending or retained in the LRU.
Fields§
§pending: boolA first-frame request is tracked.
keep_alive: boolAn LRU entry holds this image within the cache budget.
live: boolThe cache tracks this completer until its listeners reach zero.
Implementations§
Trait Implementations§
Source§impl Clone for ImageCacheStatus
impl Clone for ImageCacheStatus
Source§fn clone(&self) -> ImageCacheStatus
fn clone(&self) -> ImageCacheStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImageCacheStatus
Source§impl Debug for ImageCacheStatus
impl Debug for ImageCacheStatus
Source§impl Default for ImageCacheStatus
impl Default for ImageCacheStatus
Source§fn default() -> ImageCacheStatus
fn default() -> ImageCacheStatus
Returns the “default value” for a type. Read more
impl Eq for ImageCacheStatus
Source§impl PartialEq for ImageCacheStatus
impl PartialEq for ImageCacheStatus
impl StructuralPartialEq for ImageCacheStatus
Auto Trait Implementations§
impl Forget for ImageCacheStatus
impl Freeze for ImageCacheStatus
impl Move for ImageCacheStatus
impl RefUnwindSafe for ImageCacheStatus
impl Send for ImageCacheStatus
impl Sync for ImageCacheStatus
impl Unpin for ImageCacheStatus
impl UnsafeUnpin for ImageCacheStatus
impl UnwindSafe for ImageCacheStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.