Module pasture_core::util [−][src]
Expand description
Utilities
Functions
Push the raw bytes for val
into vec
in the endianess of the current machine
Sorts a slice using the given index permutation. An index permutation is any permutation of the range 0..n
, where
n
is equal to slice.len()
Unchecked version of sort_by_permutation
Sorts a slice containing binary untyped data as if it did contain typed data. Sorting is performed using the given permutation
. stride
defines the
offset between two consecutive elements within slice
.
Returns a byte slice that points to the raw bytes of val
.
Returns a mutable byte slice that points to the raw bytes of val
.