re_int 0.36.0

Small numeric helper traits: saturating integer casts and unsigned absolute value
Documentation
  • Coverage
  • 100%
    8 out of 8 items documented1 out of 1 items with examples
  • Size
  • Source code size: 16.28 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 521.2 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1s Average build duration of successful builds.
  • all releases: 1s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • rerun-io/rerun
    11283 820 1255
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • rerunio

re_int

Part of the rerun family of crates.

Latest version Documentation MIT Apache

Small numeric helper traits shared across the Rerun crates.

  • SaturatingCast — cast between integer types, clamping to the target's range instead of wrapping (as) or panicking (TryFrom + unwrap).
  • UnsignedAbs — compute the absolute value of a signed integer without wrapping or panicking.