leshow / rotary-encoder-hal

A simple platform agnostic rotary encoder library
MIT License
28 stars 15 forks source link

New method `into_inner` for `Rotary` #11

Closed ilyavennik closed 3 years ago

ilyavennik commented 3 years ago

I added a new method into_inner.

leshow commented 3 years ago

Is this useful for you? I'm not opposed to adding it if you like

ilyavennik commented 3 years ago

Many libraries provide the both ability to construct and deconstruct. For example, I needed to unwrap a library abstraction into raw types to perform low-level calibration, and then, build abstraction type again.