pub struct Render {Show 13 fields
pub root: NodeId,
pub tys: Typing,
pub buffers: BTreeMap<NodeId, Buffer>,
pub frames: BTreeMap<NodeId, Frames>,
pub symbolic: BTreeMap<NodeId, SpectralSum>,
pub labels: BTreeMap<NodeId, Label>,
pub traces: Vec<FilterTrace>,
pub config: RenderConfig,
pub schedule: Schedule,
pub bindings: BTreeMap<NodeId, Vec<Binding>>,
pub cache_stats: Option<CacheStats>,
pub held_bytes: usize,
pub range: Option<Extent>,
/* private fields */
}Fields§
§root: NodeId§tys: Typing§buffers: BTreeMap<NodeId, Buffer>§frames: BTreeMap<NodeId, Frames>§symbolic: BTreeMap<NodeId, SpectralSum>§labels: BTreeMap<NodeId, Label>§traces: Vec<FilterTrace>§config: RenderConfig§schedule: Schedule§bindings: BTreeMap<NodeId, Vec<Binding>>§cache_stats: Option<CacheStats>§held_bytes: usizeThe most bytes the table held at once, samples and state.
range: Option<Extent>The samples the root was read over; None where no reading needed any.
Implementations§
Source§impl Render
impl Render
Sourcepub fn work(&self) -> Work
pub fn work(&self) -> Work
What its schedule prices: every value once over the range, whatever the store answered.
Sourcepub fn output(&self, node: NodeId) -> Result<Buffer, EngineError>
pub fn output(&self, node: NodeId) -> Result<Buffer, EngineError>
A node’s samples over the range, zero where it holds none.
pub fn buffer(&self, node: NodeId) -> Option<&Buffer>
pub fn id(&self, path: &str) -> Option<NodeId>
Sourcepub fn node(&self, path: &str) -> Result<NodeId, EngineError>
pub fn node(&self, path: &str) -> Result<NodeId, EngineError>
The node a reading names, refusing by name where a file expanded into several.
Sourcepub fn evaluated(&self, node: NodeId) -> Vec<Extent>
pub fn evaluated(&self, node: NodeId) -> Vec<Extent>
Each segment the render computed of node’s value, in order: a sample in two was
computed twice.
Sourcepub fn alias_oversample(&self, node: NodeId) -> Option<u32>
pub fn alias_oversample(&self, node: NodeId) -> Option<u32>
The multiple a reading asks this node’s score against, where one asks for a score at all.
pub fn alias_score(&self, node: NodeId) -> AliasScore
Auto Trait Implementations§
impl !Freeze for Render
impl !RefUnwindSafe for Render
impl !Sync for Render
impl !UnwindSafe for Render
impl Send for Render
impl Unpin for Render
impl UnsafeUnpin for Render
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