pub struct NodeGraphPaintCachePruneTuning {
pub max_age_frames: u64,
pub max_entries: usize,
}Expand description
Tuning reserved for renderer/runtime paint-cache pruning.
The headless runtime does not own renderer paint caches today. Keep this payload serialized so adapters and future cache plumbing can share stable defaults without graph-schema churn.
Fields§
§max_age_frames: u64Remove cache entries not used within this many frames.
max_entries: usizeHard cap on total cache entries (paths + markers + text blobs + text metrics).
Trait Implementations§
Source§impl Clone for NodeGraphPaintCachePruneTuning
impl Clone for NodeGraphPaintCachePruneTuning
Source§fn clone(&self) -> NodeGraphPaintCachePruneTuning
fn clone(&self) -> NodeGraphPaintCachePruneTuning
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 NodeGraphPaintCachePruneTuning
Source§impl<'de> Deserialize<'de> for NodeGraphPaintCachePruneTuning
impl<'de> Deserialize<'de> for NodeGraphPaintCachePruneTuning
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
Source§impl PartialEq for NodeGraphPaintCachePruneTuning
impl PartialEq for NodeGraphPaintCachePruneTuning
Source§fn eq(&self, other: &NodeGraphPaintCachePruneTuning) -> bool
fn eq(&self, other: &NodeGraphPaintCachePruneTuning) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodeGraphPaintCachePruneTuning
Auto Trait Implementations§
impl Freeze for NodeGraphPaintCachePruneTuning
impl RefUnwindSafe for NodeGraphPaintCachePruneTuning
impl Send for NodeGraphPaintCachePruneTuning
impl Sync for NodeGraphPaintCachePruneTuning
impl Unpin for NodeGraphPaintCachePruneTuning
impl UnsafeUnpin for NodeGraphPaintCachePruneTuning
impl UnwindSafe for NodeGraphPaintCachePruneTuning
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