Function sdl2::rect::max_int_value
source · [−]pub fn max_int_value() -> u32
Expand description
The maximal integer value that can be used for rectangles.
This value is smaller than strictly needed, but is useful in ensuring that rect sizes will never have to be truncated when clamping.