Function rs::util::vec_remove

source · []
pub fn vec_remove<T, F: FnMut(&T) -> bool>(v: &mut Vec<T>, pred: F) -> Option<T>
Expand description

Removes the first matcing item