Lines Matching defs:self
199 pub unsafe fn inc_len(&mut self, additional: usize) { in inc_len()
215 unsafe fn dec_len(&mut self, count: usize) -> &mut [T] { in dec_len()
312 pub fn push(&mut self, v: T, flags: Flags) -> Result<(), AllocError> { in push()
335 pub fn push_within_capacity(&mut self, v: T) -> Result<(), PushError<T>> { in push_within_capacity()
350 unsafe fn push_within_capacity_unchecked(&mut self, v: T) { in push_within_capacity_unchecked()
383 &mut self, in insert_within_capacity()
452 pub fn remove(&mut self, i: usize) -> Result<T, RemoveError> { in remove()
587 pub fn clear(&mut self) { in clear()
609 pub fn reserve(&mut self, additional: usize, flags: Flags) -> Result<(), AllocError> { in reserve()
664 pub fn truncate(&mut self, len: usize) { in truncate()
710 pub fn retain(&mut self, mut f: impl FnMut(&mut T) -> bool) { in retain()
726 pub fn extend_with(&mut self, n: usize, value: T, flags: Flags) -> Result<(), AllocError> { in extend_with()
765 pub fn extend_from_slice(&mut self, other: &[T], flags: Flags) -> Result<(), AllocError> { in extend_from_slice()
806 pub fn resize(&mut self, new_len: usize, value: T, flags: Flags) -> Result<(), AllocError> { in resize()
821 fn drop(&mut self) { in drop()
863 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
955 fn index(&self, index: I) -> &Self::Output { in index()
965 fn index_mut(&mut self, index: I) -> &mut Self::Output { in index_mut()
1089 pub fn collect(self, flags: Flags) -> Vec<T, A> { in collect() argument
1200 fn drop(&mut self) { in drop()
1287 fn drop(&mut self) { in drop()