pointer-utils icon indicating copy to clipboard operation
pointer-utils copied to clipboard

RFC: Feature/newtype

Open cehteh opened this issue 2 years ago • 0 comments

I anticipate the change from the type alias to a newtype implementation here. Maybe this qualifies/requires a major version bump (I suspect this is still binary compatible as its a transparent repr).

A possible alternative would be to implement 'with()/with_mut()' functions as toplevel crate functions (I wont necessary like that, but ymmv). Keeping them in the Erasable trait won't be totally bad as well.

cehteh avatar Feb 02 '23 09:02 cehteh