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 value graph 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 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.
Auto Trait Implementations§
impl !Freeze for Render
impl !RefUnwindSafe for Render
impl !Send for Render
impl !Sync for Render
impl !UnwindSafe 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more