Skip to main content

unsigned

Function unsigned 

Source
pub fn unsigned<T: UnsignedValue>(value: T) -> Unsigned<T>
Expand description

Wraps an unsigned primitive for C printf-compatible u, o, x, or X formatting.

The wrapper is required for integer precision or the # flag. Native Rust formatting is already exact for ordinary conversions, width, -, and 0 cases. See the module documentation for paired Rust and C examples of every supported conversion and flag.