pub trait VecExt { type Item; // Required method unsafe fn set_end_ptr(&mut self, end: *const Self::Item); }