rusb icon indicating copy to clipboard operation
rusb copied to clipboard

Add values and a repr() to SyncType and UsageType

Open raphaelcohn opened this issue 4 years ago • 2 comments

This just makes them more useful when recreating C-values.

raphaelcohn avatar Jul 26 '21 06:07 raphaelcohn

Maybe just add impl From<SyncType> for u8?

a1ien avatar Jul 26 '21 09:07 a1ien

The From is trivial to implement once you've add repr values.

raphaelcohn avatar Jul 26 '21 16:07 raphaelcohn