Crate clampf[][src]

Clamped floating-point types.

Provides wrappers around floating-point values clamped to the range [0,1].

Structs

Clamp

A wrapper around a floating-point value clamped to the range [0,1].

Functions

clamp

Constrain the value to the range [0,1].

Type Definitions

Clamp32

A wrapper around a 32-bit floating-point value clamped to the range [0,1].

Clamp64

A wrapper around a 64-bit floating-point value clamped to the range [0,1].