d-unsed / ruru

Native Ruby extensions written in Rust
MIT License
832 stars 40 forks source link

Implement Copy trait for primitive types #59

Open d-unsed opened 7 years ago

d-unsed commented 7 years ago

Implement Copy trait similarly to Rust primitive types.

Should be implemented for those types which have constant object_ids.

ms-ati commented 7 years ago

How would this work for NilClass or the two Boolean classes? I had understood them to be singleton instances?