pub struct NodeGraphRuntimeTuning {
pub spatial_index: NodeGraphSpatialIndexTuning,
pub only_render_visible_elements: bool,
pub paint_cache_prune: NodeGraphPaintCachePruneTuning,
}Expand description
Persisted runtime-heavy tuning for the node graph editor.
Backend-specific payloads are configuration compatibility commitments; runtime reads still choose a supported implementation from the resolved interaction state.
Fields§
§spatial_index: NodeGraphSpatialIndexTuningOptional cached spatial-query backend tuning. Disabled by default.
only_render_visible_elements: boolCull renderer-facing visibility lists to the current viewport when possible.
paint_cache_prune: NodeGraphPaintCachePruneTuningReserved paint-cache pruning tuning for adapters or future runtime-owned cache plumbing.
Implementations§
Source§impl NodeGraphRuntimeTuning
impl NodeGraphRuntimeTuning
pub fn is_default(this: &Self) -> bool
pub fn with_spatial_index_enabled(self, enabled: bool) -> Self
pub fn with_only_render_visible_elements(self, enabled: bool) -> Self
Trait Implementations§
Source§impl Clone for NodeGraphRuntimeTuning
impl Clone for NodeGraphRuntimeTuning
Source§fn clone(&self) -> NodeGraphRuntimeTuning
fn clone(&self) -> NodeGraphRuntimeTuning
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 NodeGraphRuntimeTuning
Source§impl Debug for NodeGraphRuntimeTuning
impl Debug for NodeGraphRuntimeTuning
Source§impl Default for NodeGraphRuntimeTuning
impl Default for NodeGraphRuntimeTuning
Source§impl<'de> Deserialize<'de> for NodeGraphRuntimeTuning
impl<'de> Deserialize<'de> for NodeGraphRuntimeTuning
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 NodeGraphRuntimeTuning
impl PartialEq for NodeGraphRuntimeTuning
Source§fn eq(&self, other: &NodeGraphRuntimeTuning) -> bool
fn eq(&self, other: &NodeGraphRuntimeTuning) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NodeGraphRuntimeTuning
impl Serialize for NodeGraphRuntimeTuning
impl StructuralPartialEq for NodeGraphRuntimeTuning
Auto Trait Implementations§
impl Freeze for NodeGraphRuntimeTuning
impl RefUnwindSafe for NodeGraphRuntimeTuning
impl Send for NodeGraphRuntimeTuning
impl Sync for NodeGraphRuntimeTuning
impl Unpin for NodeGraphRuntimeTuning
impl UnsafeUnpin for NodeGraphRuntimeTuning
impl UnwindSafe for NodeGraphRuntimeTuning
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