mre / mos6502

MOS 6502 emulator written in Rust
BSD 3-Clause "New" or "Revised" License
77 stars 15 forks source link

Can we make the Variant trait public #101

Closed omarandlorraine closed 1 month ago

omarandlorraine commented 1 month ago

I want to make my 6502 backend generic across different Variants, so it's not NMOS only. To this end I want to use the Variant trait in my crate. But the trait is private. Can we make it public or do I have to come up with a wrapper type?

(One thing I appreciate about this crate is it's artfully engineered; feel free to turn this idea down)

omarandlorraine commented 1 month ago

Sorry, of course it's publically importable at mos6502::Variant