rlmesh::RenderFn
A borrowed render callable with construction identity.
struct RenderFn<'a>Associated functions
Methods
new
associated function[source]fn new(f: impl FnMut() -> Result<Value> + 'a) -> SelfWrap 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<'_>