Module konst::primitive::cmp

source ·
Expand description

const fns for comparing primitive types for equality and ordering.

Functions§

  • Compares two bool, returning the ordering of left relative to right.
  • Compares two char, returning the ordering of left relative to right.
  • Compares two i8, returning the ordering of left relative to right.
  • Compares two i16, returning the ordering of left relative to right.
  • Compares two i32, returning the ordering of left relative to right.
  • Compares two i64, returning the ordering of left relative to right.
  • Compares two i128, returning the ordering of left relative to right.
  • Compares two isize, returning the ordering of left relative to right.
  • Compares two Option<bool>, returning the ordering of left relative to right.
  • Compares two Option<char>, returning the ordering of left relative to right.
  • Compares two Option<i8>, returning the ordering of left relative to right.
  • Compares two Option<i16>, returning the ordering of left relative to right.
  • Compares two Option<i32>, returning the ordering of left relative to right.
  • Compares two Option<i64>, returning the ordering of left relative to right.
  • Compares two Option<i128>, returning the ordering of left relative to right.
  • Compares two Option<isize>, returning the ordering of left relative to right.
  • Compares two Option<u8>, returning the ordering of left relative to right.
  • Compares two Option<u16>, returning the ordering of left relative to right.
  • Compares two Option<u32>, returning the ordering of left relative to right.
  • Compares two Option<u64>, returning the ordering of left relative to right.
  • Compares two Option<u128>, returning the ordering of left relative to right.
  • Compares two Option<usize>, returning the ordering of left relative to right.
  • Compares two u8, returning the ordering of left relative to right.
  • Compares two u16, returning the ordering of left relative to right.
  • Compares two u32, returning the ordering of left relative to right.
  • Compares two u64, returning the ordering of left relative to right.
  • Compares two u128, returning the ordering of left relative to right.
  • Compares two usize, returning the ordering of left relative to right.
  • Compares two Option<bool> for equality.
  • Compares two Option<char> for equality.
  • Compares two Option<i8> for equality.
  • Compares two Option<i16> for equality.
  • Compares two Option<i32> for equality.
  • Compares two Option<i64> for equality.
  • Compares two Option<i128> for equality.
  • Compares two Option<isize> for equality.
  • Compares two Option<u8> for equality.
  • Compares two Option<u16> for equality.
  • Compares two Option<u32> for equality.
  • Compares two Option<u64> for equality.
  • Compares two Option<u128> for equality.
  • Compares two Option<usize> for equality.