sort::cmp+x86_64 +linux

sort::cmp provides some basic implementations of sort::cmpfunc.

Index

Functions

fn i16s(a: const *opaque, b: const *opaque) int;
fn i32s(a: const *opaque, b: const *opaque) int;
fn i64s(a: const *opaque, b: const *opaque) int;
fn i8s(a: const *opaque, b: const *opaque) int;
fn ints(a: const *opaque, b: const *opaque) int;
fn sizes(a: const *opaque, b: const *opaque) int;
fn strs(a: const *opaque, b: const *opaque) int;
fn u16s(a: const *opaque, b: const *opaque) int;
fn u32s(a: const *opaque, b: const *opaque) int;
fn u64s(a: const *opaque, b: const *opaque) int;
fn u8s(a: const *opaque, b: const *opaque) int;
fn uints(a: const *opaque, b: const *opaque) int;

Functions

fn i16s[link]

fn i16s(a: const *opaque, b: const *opaque) int;

sort::cmpfunc for use with i16.

fn i32s[link]

fn i32s(a: const *opaque, b: const *opaque) int;

sort::cmpfunc for use with i32.

fn i64s[link]

fn i64s(a: const *opaque, b: const *opaque) int;

sort::cmpfunc for use with i64.

fn i8s[link]

fn i8s(a: const *opaque, b: const *opaque) int;

sort::cmpfunc for use with i8.

fn ints[link]

fn ints(a: const *opaque, b: const *opaque) int;

sort::cmpfunc for use with int.

fn sizes[link]

fn sizes(a: const *opaque, b: const *opaque) int;

sort::cmpfunc for use with size.

fn strs[link]

fn strs(a: const *opaque, b: const *opaque) int;

sort::cmpfunc for use with str. Sorting is done with respect to Unicode codepoints; see strings::compare.

fn u16s[link]

fn u16s(a: const *opaque, b: const *opaque) int;

sort::cmpfunc for use with u16.

fn u32s[link]

fn u32s(a: const *opaque, b: const *opaque) int;

sort::cmpfunc for use with u32.

fn u64s[link]

fn u64s(a: const *opaque, b: const *opaque) int;

sort::cmpfunc for use with u64.

fn u8s[link]

fn u8s(a: const *opaque, b: const *opaque) int;

sort::cmpfunc for use with u8.

fn uints[link]

fn uints(a: const *opaque, b: const *opaque) int;

sort::cmpfunc for use with uint.