Skip to main content

bind_mapped

Function bind_mapped 

Source
pub fn bind_mapped<S: Clone + PartialEq + 'static, T: 'static>(
    source: &Observable<S>,
    map: impl Fn(&S) -> T + 'static,
) -> Binding<T>
Expand description

Create a mapped binding: source value transformed by map.