TypedRect is marked repr(C) in euclid:0.15.1, which helps with the FFI.