Trait Pull
Source pub trait Pull<A, I>{
// Required method
fn pull(&mut self, value: I);
}
Expand description
A trait that implements the Pull::pull method on arrays.
Removes a single given value from this array.
value - The value to remove.
§Examples
use rodash::Pull;
let mut array = vec!['a', 'b', 'c', 'a', 'b', 'c'];
array.pull('a');
assert_eq!(array, ['b', 'c', 'b', 'c']);