isize::wrapping_sub
pub const fn wrapping_sub(self, rhs: isize) -> isize
- Kind
- method
- Module
std::primitive- Since
- 1.0.0
Source: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
The entries of std::primitive in the Rust reference. This page has 2,707 cards.
pub const fn wrapping_sub(self, rhs: isize) -> isize
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_sub_unsigned(self, rhs: usize) -> isize
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn add(self, count: usize) -> *const T where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn addr(self) -> usize
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn align_offset(self, align: usize) -> usize where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_array<const N: usize>(self) -> Option<*const [T; N]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn as_mut<'a>(self) -> Option<&'a mut T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_mut_array<const N: usize>(self) -> Option<*mut [T; N]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_mut_ptr(self) -> *mut T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_mut_slice(self) -> *mut [T]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn as_mut_unchecked<'a>(self) -> &'a mut T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_ptr(self) -> *const T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn as_ref<'a>(self) -> Option<&'a T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn as_ref_unchecked<'a>(self) -> &'a T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_slice(self) -> *const [T]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn as_uninit_mut<'a>(self) -> Option<&'a mut MaybeUninit<T>> where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn as_uninit_ref<'a>(self) -> Option<&'a MaybeUninit<T>> where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn as_uninit_slice<'a>(self) -> Option<&'a [MaybeUninit<T>]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn as_uninit_slice_mut<'a>( self, ) -> Option<&'a mut [MaybeUninit<T>]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn byte_add(self, count: usize) -> *const T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn byte_offset(self, count: isize) -> *const T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn byte_offset_from<U>(self, origin: *const U) -> isize where U: ?Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn byte_offset_from_unsigned<U>( self, origin: *const U, ) -> usize where U: ?Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn byte_sub(self, count: usize) -> *const T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn cast<U>(self) -> *const U
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn cast_array<const N: usize>(self) -> *const [T; N]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn cast_const(self) -> *const T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn cast_init(self) -> *const T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn cast_mut(self) -> *mut T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn cast_slice(self, len: usize) -> *const [T]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn cast_uninit(self) -> *const MaybeUninit<T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn copy_from(self, src: *const T, count: usize) where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn copy_from_nonoverlapping(self, src: *const T, count: usize) where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn copy_to(self, dest: *mut T, count: usize) where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn copy_to_nonoverlapping(self, dest: *mut T, count: usize) where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub unsafe fn drop_in_place(self)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn expose_provenance(self) -> usize
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn get_unchecked<I>( self, index: I, ) -> *const <I as SliceIndex<[T]>>::Output where I: SliceIndex<[T]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn get_unchecked_mut<I>( self, index: I, ) -> *mut <I as SliceIndex<[T]>>::Output where I: SliceIndex<[T]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn guaranteed_eq(self, other: *const T) -> Option<bool> where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn guaranteed_ne(self, other: *const T) -> Option<bool> where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn is_aligned(self) -> bool where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn is_aligned_to(self, align: usize) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_empty(self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_null(self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn len(self) -> usize
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn map_addr(self, f: impl FnOnce(usize) -> usize) -> *const T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn mask(self, mask: usize) -> *const T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn offset(self, count: isize) -> *const T where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn offset_from(self, origin: *const T) -> isize where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn offset_from_unsigned(self, origin: *const T) -> usize where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn read(self) -> T where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn read_unaligned(self) -> T where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub unsafe fn read_volatile(self) -> T where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn replace(self, src: T) -> T where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub unsafe fn split_at_mut(self, mid: usize) -> (*mut [T], *mut [T])
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub unsafe fn split_at_mut_unchecked(self, mid: usize) -> (*mut [T], *mut [T])
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn sub(self, count: usize) -> *const T where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn swap(self, with: *mut T) where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn to_raw_parts(self) -> (*const (), <T as Pointee>::Metadata)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn try_cast_aligned<U>(self) -> Option<*const U>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn with_addr(self, addr: usize) -> *const T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn with_metadata_of<U>(self, meta: *const U) -> *const U where U: ?Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_add(self, count: usize) -> *const T where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_byte_add(self, count: usize) -> *const T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_byte_offset(self, count: isize) -> *const T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_byte_sub(self, count: usize) -> *const T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_offset(self, count: isize) -> *const T where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn wrapping_sub(self, count: usize) -> *const T where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn write(self, val: T) where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn write_bytes(self, val: u8, count: usize) where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn write_unaligned(self, val: T) where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub unsafe fn write_volatile(self, val: T) where T: Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub unsafe fn align_to<U>(&self) -> (&[T], &[U], &[T])
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub unsafe fn align_to_mut<U>(&mut self) -> (&mut [T], &mut [U], &mut [T])
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn align_to_uninit_mut<U>( &mut self, ) -> (&mut [MaybeUninit<T>], &mut [MaybeUninit<U>], &mut [MaybeUninit<T>])
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn array_windows<const N: usize>(&self) -> ArrayWindows<'_, T, N>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_array<const N: usize>(&self) -> Option<&[T; N]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_ascii(&self) -> Option<&[AsciiChar]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn as_ascii_unchecked(&self) -> &[AsciiChar]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_bytes(&self) -> &[MaybeUninit<u8>]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_bytes_mut(&mut self) -> &mut [MaybeUninit<u8>]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_chunks<const N: usize>(&self) -> (&[[T; N]], &[T])
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_chunks_mut<const N: usize>( &mut self, ) -> (&mut [[T; N]], &mut [T])
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn as_chunks_unchecked<const N: usize>(&self) -> &[[T; N]]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn as_chunks_unchecked_mut<const N: usize>( &mut self, ) -> &mut [[T; N]]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_flattened(&self) -> &[T]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_flattened_mut(&mut self) -> &mut [T]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_mut_array<const N: usize>(&mut self) -> Option<&mut [T; N]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_mut_ptr(&mut self) -> *mut T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_mut_ptr_range(&mut self) -> Range<*mut T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_mut_slice(&mut self) -> &mut [T]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_ptr(&self) -> *const T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_ptr_range(&self) -> Range<*const T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_rchunks<const N: usize>(&self) -> (&[T], &[[T; N]])
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_rchunks_mut<const N: usize>( &mut self, ) -> (&mut [T], &mut [[T; N]])
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn as_simd<const LANES: usize>(&self) -> (&[T], &[Simd<T, LANES>], &[T]) where Simd<T, LANES>: AsRef<[T; LANES]>, T: SimdElement
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn as_simd_mut<const LANES: usize>( &mut self, ) -> (&mut [T], &mut [Simd<T, LANES>], &mut [T]) where Simd<T, LANES>: AsMut<[T; LANES]>, T: SimdElement
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_slice(&self) -> &[T]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_str(&self) -> &str
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub unsafe fn assume_init(self) -> Box<[T], A>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub unsafe fn assume_init_drop(&mut self)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn assume_init_mut(&mut self) -> &mut [T]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn assume_init_ref(&self) -> &[T]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn binary_search(&self, x: &T) -> Result<usize, usize> where T: Ord
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn binary_search_by<'a, F>(&'a self, f: F) -> Result<usize, usize> where F: FnMut(&'a T) -> Ordering
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn binary_search_by_key<'a, B, F>( &'a self, b: &B, f: F, ) -> Result<usize, usize> where F: FnMut(&'a T) -> B, B: Ord
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn chunk_by<F>(&self, pred: F) -> ChunkBy<'_, T, F> where F: FnMut(&T, &T) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn chunk_by_mut<F>(&mut self, pred: F) -> ChunkByMut<'_, T, F> where F: FnMut(&T, &T) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn chunks(&self, chunk_size: usize) -> Chunks<'_, T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn chunks_exact(&self, chunk_size: usize) -> ChunksExact<'_, T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn chunks_exact_mut(&mut self, chunk_size: usize) -> ChunksExactMut<'_, T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn chunks_mut(&mut self, chunk_size: usize) -> ChunksMut<'_, T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn clone_from_slice(&mut self, src: &[T]) where T: Clone
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn concat<Item>(&self) -> <[T] as Concat<Item>>::Output where [T]: Concat<Item>, Item: ?Sized
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn connect<Separator>( &self, sep: Separator, ) -> <[T] as Join<Separator>>::Output where [T]: Join<Separator>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn contains(&self, x: &T) -> bool where T: PartialEq
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn copy_from_slice(&mut self, src: &[T]) where T: Copy
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn copy_within<R>(&mut self, src: R, dest: usize) where R: RangeBounds<usize>, T: Copy
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn element_offset(&self, element: &T) -> Option<usize>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn ends_with(&self, needle: &[T]) -> bool where T: PartialEq
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn eq_ignore_ascii_case(&self, other: &[u8]) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn escape_ascii(&self) -> EscapeAscii<'_>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn fill(&mut self, value: T) where T: Clone
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn fill_with<F>(&mut self, f: F) where F: FnMut() -> T
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn first(&self) -> Option<&T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn first_chunk<const N: usize>(&self) -> Option<&[T; N]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn first_chunk_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn first_mut(&mut self) -> Option<&mut T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn get<I>(&self, index: I) -> Option<&<I as SliceIndex<[T]>>::Output> where I: SliceIndex<[T]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn get_disjoint_mut<I, const N: usize>( &mut self, indices: [I; N], ) -> Result<[&mut <I as SliceIndex<[T]>>::Output; N], GetDisjointMutError> where I: GetDisjointMutIndex + SliceIndex<[T]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub unsafe fn get_disjoint_unchecked_mut<I, const N: usize>( &mut self, indices: [I; N], ) -> [&mut <I as SliceIndex<[T]>>::Output; N] where I: GetDisjointMutIndex + SliceIndex<[T]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn get_mut<I>( &mut self, index: I, ) -> Option<&mut <I as SliceIndex<[T]>>::Output> where I: SliceIndex<[T]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub unsafe fn get_unchecked<I>( &self, index: I, ) -> &<I as SliceIndex<[T]>>::Output where I: SliceIndex<[T]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub unsafe fn get_unchecked_mut<I>( &mut self, index: I, ) -> &mut <I as SliceIndex<[T]>>::Output where I: SliceIndex<[T]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn into_array<const N: usize>(self) -> Result<Box<[T; N], A>, Box<[T], A>>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn into_vec<A>(self: Box<[T], A>) -> Vec<T, A> where A: Allocator
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ascii(&self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_empty(&self) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn is_sorted(&self) -> bool where T: PartialOrd
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn is_sorted_by<'a, F>(&'a self, compare: F) -> bool where F: FnMut(&'a T, &'a T) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn is_sorted_by_key<'a, F, K>(&'a self, f: F) -> bool where F: FnMut(&'a T) -> K, K: PartialOrd
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn iter(&self) -> Iter<'_, T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn iter_mut(&mut self) -> IterMut<'_, T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn join<Separator>( &self, sep: Separator, ) -> <[T] as Join<Separator>>::Output where [T]: Join<Separator>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn last(&self) -> Option<&T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn last_chunk<const N: usize>(&self) -> Option<&[T; N]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn last_chunk_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn last_mut(&mut self) -> Option<&mut T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn len(&self) -> usize
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn make_ascii_lowercase(&mut self)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn make_ascii_uppercase(&mut self)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn new_uninit_slice(len: usize) -> Box<[MaybeUninit<T>]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn new_uninit_slice_in(len: usize, alloc: A) -> Box<[MaybeUninit<T>], A>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn new_zeroed_slice(len: usize) -> Box<[MaybeUninit<T>]>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn new_zeroed_slice_in(len: usize, alloc: A) -> Box<[MaybeUninit<T>], A>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn partial_sort_unstable<R>(&mut self, range: R) where T: Ord, R: RangeBounds<usize>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn partial_sort_unstable_by<F, R>(&mut self, range: R, compare: F) where F: FnMut(&T, &T) -> Ordering, R: RangeBounds<usize>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn partial_sort_unstable_by_key<K, F, R>(&mut self, range: R, f: F) where F: FnMut(&T) -> K, K: Ord, R: RangeBounds<usize>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn partition_dedup(&mut self) -> (&mut [T], &mut [T]) where T: PartialEq
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn partition_dedup_by<F>(&mut self, same_bucket: F) -> (&mut [T], &mut [T]) where F: FnMut(&mut T, &mut T) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn partition_dedup_by_key<K, F>(&mut self, key: F) -> (&mut [T], &mut [T]) where F: FnMut(&mut T) -> K, K: PartialEq
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn partition_point<P>(&self, pred: P) -> usize where P: FnMut(&T) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn rchunks(&self, chunk_size: usize) -> RChunks<'_, T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn rchunks_exact(&self, chunk_size: usize) -> RChunksExact<'_, T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn rchunks_exact_mut(&mut self, chunk_size: usize) -> RChunksExactMut<'_, T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn rchunks_mut(&mut self, chunk_size: usize) -> RChunksMut<'_, T>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn repeat(&self, n: usize) -> Vec<T> where T: Copy
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn reverse(&mut self)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn rotate_left(&mut self, mid: usize)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn rotate_right(&mut self, k: usize)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn rsplit<F>(&self, pred: F) -> RSplit<'_, T, F> where F: FnMut(&T) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn rsplit_mut<F>(&mut self, pred: F) -> RSplitMut<'_, T, F> where F: FnMut(&T) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn rsplit_once<F>(&self, pred: F) -> Option<(&[T], &[T])> where F: FnMut(&T) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn rsplitn<F>(&self, n: usize, pred: F) -> RSplitN<'_, T, F> where F: FnMut(&T) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn rsplitn_mut<F>(&mut self, n: usize, pred: F) -> RSplitNMut<'_, T, F> where F: FnMut(&T) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn select_nth_unstable( &mut self, index: usize, ) -> (&mut [T], &mut T, &mut [T]) where T: Ord
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn select_nth_unstable_by<F>( &mut self, index: usize, compare: F, ) -> (&mut [T], &mut T, &mut [T]) where F: FnMut(&T, &T) -> Ordering
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn select_nth_unstable_by_key<K, F>( &mut self, index: usize, f: F, ) -> (&mut [T], &mut T, &mut [T]) where F: FnMut(&T) -> K, K: Ord
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn shift_left<const N: usize>(&mut self, inserted: [T; N]) -> [T; N]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn shift_right<const N: usize>(&mut self, inserted: [T; N]) -> [T; N]
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn sort(&mut self) where T: Ord
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn sort_by<F>(&mut self, compare: F) where F: FnMut(&T, &T) -> Ordering
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn sort_by_cached_key<K, F>(&mut self, f: F) where F: FnMut(&T) -> K, K: Ord
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn sort_by_key<K, F>(&mut self, f: F) where F: FnMut(&T) -> K, K: Ord
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn sort_floats(&mut self)
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn sort_unstable(&mut self) where T: Ord
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn sort_unstable_by<F>(&mut self, compare: F) where F: FnMut(&T, &T) -> Ordering
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn sort_unstable_by_key<K, F>(&mut self, f: F) where F: FnMut(&T) -> K, K: Ord
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn split<F>(&self, pred: F) -> Split<'_, T, F> where F: FnMut(&T) -> bool
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn split_at(&self, mid: usize) -> (&[T], &[T])
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn split_at_checked(&self, mid: usize) -> Option<(&[T], &[T])>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn split_at_mut(&mut self, mid: usize) -> (&mut [T], &mut [T])
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn split_at_mut_checked( &mut self, mid: usize, ) -> Option<(&mut [T], &mut [T])>
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn split_at_mut_unchecked( &mut self, mid: usize, ) -> (&mut [T], &mut [T])
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn split_at_unchecked(&self, mid: usize) -> (&[T], &[T])
std::primitiveSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.