#[repr(C)]pub enum VSCacheMode {
Auto = -1,
ForceDisable = 0,
ForceEnable = 1,
}Expand description
Describes how the output of a node is cached.
Variants§
Auto = -1
Cache is enabled or disabled based on the reported request patterns and number of consumers.
ForceDisable = 0
Never cache anything.
ForceEnable = 1
Always use the cache.
Trait Implementations§
Source§impl Clone for VSCacheMode
impl Clone for VSCacheMode
Source§fn clone(&self) -> VSCacheMode
fn clone(&self) -> VSCacheMode
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VSCacheMode
impl Debug for VSCacheMode
Source§impl Hash for VSCacheMode
impl Hash for VSCacheMode
Source§impl Ord for VSCacheMode
impl Ord for VSCacheMode
Source§impl PartialEq for VSCacheMode
impl PartialEq for VSCacheMode
Source§impl PartialOrd for VSCacheMode
impl PartialOrd for VSCacheMode
impl Copy for VSCacheMode
impl Eq for VSCacheMode
impl StructuralPartialEq for VSCacheMode
Auto Trait Implementations§
impl Freeze for VSCacheMode
impl RefUnwindSafe for VSCacheMode
impl Send for VSCacheMode
impl Sync for VSCacheMode
impl Unpin for VSCacheMode
impl UnwindSafe for VSCacheMode
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)