VarPresentData

Trait VarPresentData 

Source
pub trait VarPresentData<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", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<D: VarValue> VarPresentData<D> for Var<WidgetFn<D>>

Source§

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

Implementors§