• Home
  • Raw
  • Download

Lines Matching defs:Item

350     type Item = T::Item;  typedef
353 fn next(&mut self) -> Option<T::Item> { in next()
367 fn next_back(&mut self) -> Option<T::Item> { in next_back()
425 unsafe fn inline(&self) -> *const A::Item { in inline()
429 unsafe fn inline_mut(&mut self) -> *mut A::Item { in inline_mut()
443 unsafe fn heap(&self) -> (*mut A::Item, usize) { in heap()
447 unsafe fn heap_mut(&mut self) -> &mut (*mut A::Item, usize) { in heap_mut()
451 fn from_heap(ptr: *mut A::Item, len: usize) -> SmallVecData<A> { in from_heap()
474 unsafe fn inline(&self) -> *const A::Item { in inline()
481 unsafe fn inline_mut(&mut self) -> *mut A::Item { in inline_mut()
499 unsafe fn heap(&self) -> (*mut A::Item, usize) { in heap()
506 unsafe fn heap_mut(&mut self) -> &mut (*mut A::Item, usize) { in heap_mut()
513 fn from_heap(ptr: *mut A::Item, len: usize) -> SmallVecData<A> { in from_heap()
745 fn triple(&self) -> (*const A::Item, usize, usize) { in triple()
758 fn triple_mut(&mut self) -> (*mut A::Item, &mut usize, usize) { in triple_mut()
829 pub fn push(&mut self, value: A::Item) { in push()
845 pub fn pop(&mut self) -> Option<A::Item> { in pop()
869 pub fn append<B>(&mut self, other: &mut SmallVec<B>) in append()
1018 pub fn as_slice(&self) -> &[A::Item] { in as_slice()
1025 pub fn as_mut_slice(&mut self) -> &mut [A::Item] { in as_mut_slice()
1035 pub fn swap_remove(&mut self, index: usize) -> A::Item { in swap_remove()
1052 pub fn remove(&mut self, index: usize) -> A::Item { in remove()
1068 pub fn insert(&mut self, index: usize, element: A::Item) { in insert()
1084 pub fn insert_many<I: IntoIterator<Item = A::Item>>(&mut self, index: usize, iterable: I) { in insert_many()
1166 pub fn into_vec(self) -> Vec<A::Item> { in into_vec()
1183 pub fn into_boxed_slice(self) -> Box<[A::Item]> { in into_boxed_slice()
1225 A::Item: PartialEq<A::Item>, in dedup()
1233 F: FnMut(&mut A::Item, &mut A::Item) -> bool, in dedup_by()
1298 F: FnMut() -> A::Item, in resize_with()
1382 pub unsafe fn from_raw_parts(ptr: *mut A::Item, length: usize, capacity: usize) -> SmallVec<A> { in from_raw_parts()
1391 pub fn as_ptr(&self) -> *const A::Item { in as_ptr()
1399 pub fn as_mut_ptr(&mut self) -> *mut A::Item { in as_mut_ptr()
1444 pub fn insert_from_slice(&mut self, index: usize, slice: &[A::Item]) { in insert_from_slice()
1463 pub fn extend_from_slice(&mut self, slice: &[A::Item]) { in extend_from_slice()
1479 pub fn resize(&mut self, len: usize, value: A::Item) { in resize()
1496 pub fn from_elem(elem: A::Item, n: usize) -> Self { in from_elem()
1518 fn deref(&self) -> &[A::Item] { in deref()
1528 fn deref_mut(&mut self) -> &mut [A::Item] { in deref_mut()
1538 fn as_ref(&self) -> &[A::Item] { in as_ref()
1545 fn as_mut(&mut self) -> &mut [A::Item] { in as_mut()
1552 fn borrow(&self) -> &[A::Item] { in borrow()
1559 fn borrow_mut(&mut self) -> &mut [A::Item] { in borrow_mut()
1718 fn extend_from_slice(&mut self, other: &[A::Item]) { in extend_from_slice()
1725 fn from_iter<I: IntoIterator<Item = A::Item>>(iterable: I) -> SmallVec<A> { in from_iter()
1733 fn extend<I: IntoIterator<Item = A::Item>>(&mut self, iterable: I) { in extend()
1905 type Item = A::Item; typedef
1908 fn next(&mut self) -> Option<A::Item> { in next()
1929 fn next_back(&mut self) -> Option<A::Item> { in next_back()
1946 pub fn as_slice(&self) -> &[A::Item] { in as_slice()
1952 pub fn as_mut_slice(&mut self) -> &mut [A::Item] { in as_mut_slice()
1960 type Item = A::Item; typedef
1977 type Item = &'a A::Item; typedef
1985 type Item = &'a mut A::Item; typedef
1994 type Item; typedef
2064 type Item = T; typedef
2095 impl<A: Array> ToSmallVec<A> for [A::Item] implementation