Function rui::with_ref

source · []
pub fn with_ref<V: View, F: Fn(&T) -> V + 'static, T>(
    binding: impl Binding<T>,
    f: F
) -> impl View
Expand description

Convenience to retreive a reference to a value in the context.