pub enum CacheIntent {
Auto,
Pin,
Bypass,
}Expand description
Whether a node’s result may be kept and reused.
Variants§
Auto
Keep it when its key is complete, evicting it like any other result.
Pin
Keep it when its key is complete, evicting it only after every unpinned result.
Bypass
Never read or keep it, nor anything it is drawn from or drawn into: for looking at a live render with certainty.
Trait Implementations§
Source§impl Clone for CacheIntent
impl Clone for CacheIntent
impl Copy for CacheIntent
Source§impl Debug for CacheIntent
impl Debug for CacheIntent
Source§impl Default for CacheIntent
impl Default for CacheIntent
impl Eq for CacheIntent
Source§impl PartialEq for CacheIntent
impl PartialEq for CacheIntent
impl StructuralPartialEq for CacheIntent
Auto Trait Implementations§
impl Freeze for CacheIntent
impl RefUnwindSafe for CacheIntent
impl Send for CacheIntent
impl Sync for CacheIntent
impl Unpin for CacheIntent
impl UnsafeUnpin for CacheIntent
impl UnwindSafe for CacheIntent
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§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.