Type Alias c_uint

1.1.0 · Source
pub type c_uint = u32;
Expand description

Equivalent to C’s unsigned int type.

This type will almost always be u32, but may differ on some esoteric systems. The C standard technically only requires that this type be an unsigned integer with the same size as an int; some systems define it as a u16, for example.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 4 bytes