docs.rs failed to build clamp_to-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
clamp_to-0.2.2
ClampTo provides clamping rust primative number types and casting to another primative number type. You can either use the clamp_to trait fn to just clamp the value and cast it or checked_clamp_to which will return an Ok(val) if the value was within the acceptable values or Err(ClampError) if the number was outside that range.