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§
Sourcefn present_data(&self, data: impl IntoVar<D>) -> UiNode
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.