Skip to main content

is_integer

Function is_integer 

Source
pub fn is_integer(types: &Types, id: TypeId) -> bool
Expand description

An integer type, 6.2.5p17.

bool, the standard and extended integer types, _BitInt, and every enumeration. The last is the one that gets forgotten, and forgetting it rejects enum e x; x % 2.