aclysma/basis-universal-rs

Make CompressorImageRef safer

Opened this issue · 0 comments

It's possible to get a CompressorImageRef from CompressorParams, drop CompressorParams, and cause undefined behavior by using CompressorImageRef. Some API improvements would enable rust borrow checking to catch this at compile time.