I think these will go well on `src/class/traits/object.rs` . I've got a PR on ruby-sys for it https://github.com/steveklabnik/ruby-sys/pull/27