Skip to main content

VarPresent

Trait VarPresent 

Source
pub trait VarPresent<D>
where D: VarValue,
{ // Required method fn present(&self, wgt_fn: impl IntoVar<WidgetFn<D>>) -> UiNode; }
Expand description

Extension method to convert a variable to a node.

Required Methods§

Source

fn present(&self, wgt_fn: impl IntoVar<WidgetFn<D>>) -> UiNode

Present the variable data using a presenter node.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<D> VarPresent<D> for Var<D>
where D: VarValue,