This reference describes unreleased code on main; no release documents it yet.

rlmesh::RenderFn

structPreviewuse rlmesh::RenderFn;[source]

A borrowed render callable with construction identity.

struct RenderFn<'a>

new

associated function[source]
fn new(f: impl FnMut() -> Result<Value> + 'a) -> Self

Wrap a render callback with a unique identity.

call

method[source]
fn call(&mut self) -> Result<Value>

Invoke this callable.

Trait implementations

  • impl PartialEq for RenderFn<'_>
  • impl Eq for RenderFn<'_>
  • impl Hash for RenderFn<'_>
  • impl Debug for RenderFn<'_>