Lines Matching defs:Item
297 type Item = T::Item; typedef
300 fn next(&mut self) -> Option<T::Item> { in next()
314 fn next_back(&mut self) -> Option<T::Item> { in next_back()
361 unsafe fn inline(&self) -> *const A::Item { in inline()
365 unsafe fn inline_mut(&mut self) -> *mut A::Item { in inline_mut()
379 unsafe fn heap(&self) -> (*mut A::Item, usize) { in heap()
383 unsafe fn heap_mut(&mut self) -> &mut (*mut A::Item, usize) { in heap_mut()
387 fn from_heap(ptr: *mut A::Item, len: usize) -> SmallVecData<A> { in from_heap()
401 unsafe fn inline(&self) -> *const A::Item { in inline()
408 unsafe fn inline_mut(&mut self) -> *mut A::Item { in inline_mut()
426 unsafe fn heap(&self) -> (*mut A::Item, usize) { in heap()
433 unsafe fn heap_mut(&mut self) -> &mut (*mut A::Item, usize) { in heap_mut()
440 fn from_heap(ptr: *mut A::Item, len: usize) -> SmallVecData<A> { in from_heap()
672 fn triple(&self) -> (*const A::Item, usize, usize) { in triple()
685 fn triple_mut(&mut self) -> (*mut A::Item, &mut usize, usize) { in triple_mut()
756 pub fn push(&mut self, value: A::Item) { in push()
772 pub fn pop(&mut self) -> Option<A::Item> { in pop()
796 pub fn append<B>(&mut self, other: &mut SmallVec<B>) in append()
945 pub fn as_slice(&self) -> &[A::Item] { in as_slice()
952 pub fn as_mut_slice(&mut self) -> &mut [A::Item] { in as_mut_slice()
962 pub fn swap_remove(&mut self, index: usize) -> A::Item { in swap_remove()
979 pub fn remove(&mut self, index: usize) -> A::Item { in remove()
995 pub fn insert(&mut self, index: usize, element: A::Item) { in insert()
1011 pub fn insert_many<I: IntoIterator<Item = A::Item>>(&mut self, index: usize, iterable: I) { in insert_many()
1093 pub fn into_vec(self) -> Vec<A::Item> { in into_vec()
1110 pub fn into_boxed_slice(self) -> Box<[A::Item]> { in into_boxed_slice()
1152 A::Item: PartialEq<A::Item>, in dedup()
1160 F: FnMut(&mut A::Item, &mut A::Item) -> bool, in dedup_by()
1225 F: FnMut() -> A::Item, in resize_with()
1309 pub unsafe fn from_raw_parts(ptr: *mut A::Item, length: usize, capacity: usize) -> SmallVec<A> { in from_raw_parts()
1318 pub fn as_ptr(&self) -> *const A::Item { in as_ptr()
1326 pub fn as_mut_ptr(&mut self) -> *mut A::Item { in as_mut_ptr()
1371 pub fn insert_from_slice(&mut self, index: usize, slice: &[A::Item]) { in insert_from_slice()
1390 pub fn extend_from_slice(&mut self, slice: &[A::Item]) { in extend_from_slice()
1406 pub fn resize(&mut self, len: usize, value: A::Item) { in resize()
1423 pub fn from_elem(elem: A::Item, n: usize) -> Self { in from_elem()
1445 fn deref(&self) -> &[A::Item] { in deref()
1455 fn deref_mut(&mut self) -> &mut [A::Item] { in deref_mut()
1465 fn as_ref(&self) -> &[A::Item] { in as_ref()
1472 fn as_mut(&mut self) -> &mut [A::Item] { in as_mut()
1479 fn borrow(&self) -> &[A::Item] { in borrow()
1486 fn borrow_mut(&mut self) -> &mut [A::Item] { in borrow_mut()
1639 fn extend_from_slice(&mut self, other: &[A::Item]) { in extend_from_slice()
1646 fn from_iter<I: IntoIterator<Item = A::Item>>(iterable: I) -> SmallVec<A> { in from_iter()
1654 fn extend<I: IntoIterator<Item = A::Item>>(&mut self, iterable: I) { in extend()
1811 type Item = A::Item; typedef
1814 fn next(&mut self) -> Option<A::Item> { in next()
1835 fn next_back(&mut self) -> Option<A::Item> { in next_back()
1852 pub fn as_slice(&self) -> &[A::Item] { in as_slice()
1858 pub fn as_mut_slice(&mut self) -> &mut [A::Item] { in as_mut_slice()
1866 type Item = A::Item; typedef
1883 type Item = &'a A::Item; typedef
1891 type Item = &'a mut A::Item; typedef
1900 type Item; typedef
1942 type Item = T; typedef
1973 impl<A: Array> ToSmallVec<A> for [A::Item] implementation