#[allow(non_camel_case_types)]
type IMPL_T = dvec::DVec;
/**
* Iterates through the current contents.
*
* Attempts to access this dvec during iteration will fail.
*/
pure fn EACH(self: IMPL_T, f: fn(A) -> bool) {
unsafe { self.swap(|v| { vec::each(v, f); v }) }
}
pure fn SIZE_HINT(self: IMPL_T) -> option {
some(self.len())
}