pub enum CacheIntent {
Auto,
Pin,
Bypass,
}Expand description
Whether a runtime may keep and reuse a clip’s rendered picture.
Variants§
Auto
The runtime decides, keeping pictures whose inputs it can identify.
Pin
Keep it ahead of other pictures, and bake its range when a host bakes render caches.
Bypass
Always render it live: nothing it draws is read from or kept in a cache.
Implementations§
Source§impl CacheIntent
impl CacheIntent
Sourcepub const fn is_auto(&self) -> bool
pub const fn is_auto(&self) -> bool
Whether it is CacheIntent::Auto.
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
Source§impl<'de> Deserialize<'de> for CacheIntent
impl<'de> Deserialize<'de> for CacheIntent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CacheIntent
Source§impl PartialEq for CacheIntent
impl PartialEq for CacheIntent
Source§impl Serialize for CacheIntent
impl Serialize 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