for_hashset_get_mut

Function for_hashset_get_mut 

Source
pub fn for_hashset_get_mut<T>(
    value: T,
) -> WritableOptionalKeyPath<HashSet<T>, T, impl for<'r> Fn(&'r mut HashSet<T>) -> Option<&'r mut T>>
where T: Hash + Eq + Clone + 'static,
Expand description

Create a writable keypath for getting a mutable value from HashSet Note: HashSet doesn’t support mutable access to elements, but we provide it for consistency