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