#delete #in-place #vector

delete_if_not

unsafely in-place delete function

3 releases

0.1.2 Mar 23, 2024
0.1.1 Mar 23, 2024
0.1.0 Mar 23, 2024

#1262 in Data structures

Download history 246/week @ 2024-03-20 32/week @ 2024-03-27 38/week @ 2024-04-03

316 downloads per month

Apache-2.0

3KB

delete-if-not

The function delete_if_not unsafely deletes elements in-place of a vector that does not satisfy the predicate.

Status

Experimental


lib.rs:

delete_if_not is a implementation of a function that unsafely deletes elements in-place of a vector

No runtime deps