ori_core::views

Function focus

Source
pub fn focus<T, U, V: View<U>>(
    content: V,
    focus: impl FnMut(&mut T, &mut Lens<'_, U>) + 'static,
) -> Focus<T, U, V>
Expand description

Create a new Focus.