Skip to main content

Render

Struct Render 

Source
pub struct Render {
    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 proofs: u64,
}

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>§proofs: u64

Silence proofs run over the whole grid.

Implementations§

Source§

impl Render

Source

pub fn work(&self) -> Work

Source

pub fn buffer(&self, node: NodeId) -> Option<&Buffer>

Source

pub fn id(&self, path: &str) -> Option<NodeId>

Source

pub fn node(&self, path: &str) -> Result<NodeId, EngineError>

The node a reading names, refusing by name where a file expanded into several.

Source

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.

Source

pub fn alias_score(&self, node: NodeId) -> AliasScore

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.