Module konst::nonzero::cmp[][src]

This is supported on crate feature cmp only.
Expand description

const fns for comparing NonZero* types for equality and ordering.

Functions

Compares two NonZeroI8, returning the ordering of left relative to right.

Compares two NonZeroI16, returning the ordering of left relative to right.

Compares two NonZeroI32, returning the ordering of left relative to right.

Compares two NonZeroI64, returning the ordering of left relative to right.

Compares two NonZeroI128, returning the ordering of left relative to right.

Compares two NonZeroIsize, returning the ordering of left relative to right.

Compares two NonZeroU8, returning the ordering of left relative to right.

Compares two NonZeroU16, returning the ordering of left relative to right.

Compares two NonZeroU32, returning the ordering of left relative to right.

Compares two NonZeroU64, returning the ordering of left relative to right.

Compares two NonZeroU128, returning the ordering of left relative to right.

Compares two NonZeroUsize, returning the ordering of left relative to right.

Compares two Option<NonZeroI8>, returning the ordering of left relative to right.

Compares two Option<NonZeroI16>, returning the ordering of left relative to right.

Compares two Option<NonZeroI32>, returning the ordering of left relative to right.

Compares two Option<NonZeroI64>, returning the ordering of left relative to right.

Compares two Option<NonZeroI128>, returning the ordering of left relative to right.

Compares two Option<NonZeroIsize>, returning the ordering of left relative to right.

Compares two Option<NonZeroU8>, returning the ordering of left relative to right.

Compares two Option<NonZeroU16>, returning the ordering of left relative to right.

Compares two Option<NonZeroU32>, returning the ordering of left relative to right.

Compares two Option<NonZeroU64>, returning the ordering of left relative to right.

Compares two Option<NonZeroU128>, returning the ordering of left relative to right.

Compares two Option<NonZeroUsize>, returning the ordering of left relative to right.

Compares two NonZeroI8 for equality.

Compares two NonZeroI16 for equality.

Compares two NonZeroI32 for equality.

Compares two NonZeroI64 for equality.

Compares two NonZeroI128 for equality.

Compares two NonZeroIsize for equality.

Compares two NonZeroU8 for equality.

Compares two NonZeroU16 for equality.

Compares two NonZeroU32 for equality.

Compares two NonZeroU64 for equality.

Compares two NonZeroU128 for equality.

Compares two NonZeroUsize for equality.

Compares two Option<NonZeroI8> for equality.

Compares two Option<NonZeroI16> for equality.

Compares two Option<NonZeroI32> for equality.

Compares two Option<NonZeroI64> for equality.

Compares two Option<NonZeroI128> for equality.

Compares two Option<NonZeroIsize> for equality.

Compares two Option<NonZeroU8> for equality.

Compares two Option<NonZeroU16> for equality.

Compares two Option<NonZeroU32> for equality.

Compares two Option<NonZeroU64> for equality.

Compares two Option<NonZeroU128> for equality.

Compares two Option<NonZeroUsize> for equality.