Skip to main content

VarPresentData

Trait VarPresentData 

Source
pub trait VarPresentData<D>
where D: VarValue,
{ // Required method fn present_data(&self, data: impl IntoVar<D>) -> UiNode; }
Expand description

Extension method to convert a variable to a node.

Required Methods§

Source

fn present_data(&self, data: impl IntoVar<D>) -> UiNode

Present the data variable 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> VarPresentData<D> for Var<WidgetFn<D>>
where D: VarValue,