std::core::array

Submodules

slice

Public

Functions

NameDescription
array::@tzipArray 'zip' using the temp allocator.
array::@anyReturns `true` if _any_ element of the input array returns `true` when...
array::@reduceApply a reduction/folding operation to an iterable type. This walks along the input array...
array::@indices_ofApplies a given predicate function to each element of an array and returns a new...
array::@tindices_ofArray `@indices_of` using the temp allocator.
array::@filterApplies a predicate function to each element of an input array and returns a new array...
array::concatConcatenate two arrays or slices, returning a slice containing the concatenation of them.
array::@allReturns `true` if _all_ elements of the input array return `true` when...
array::index_ofReturn the first index of element found in the array, searching from the start.
array::@tfilterArray `@filter` using the temp allocator.
array::@zipZip together two separate arrays/slices into a single array of Pairs or return values. Values will...
array::tconcatConcatenate two arrays or slices, returning a slice containing the concatenation of them,...
array::@productApply a product operator (*) to an identity value across a span of array elements...
array::containsReturns true if the array contains at least one element, else false
array::rindex_ofReturn the first index of element found in the array, searching in reverse from the end.
array::@zip_intoApply an operation to each element of two slices or arrays and store the results of...
array::slice2dSlice a 2d array and create a Slice2d from it.
array::@sumApply a summation operator (+) to an identity value across a span of array elements...

Private

Functions

NameDescription
array::@is_valid_list
array::@predicate_fn
array::@is_valid_operation
array::@reduce_fn
array::@zip_into_fn
array::@is_valid_fill