Since EndpointType is a public enum, and some crates may use the integer form of it. After this modification user will need to call .to_bm_attributes() to access numeric form. We might add a another changelog to tell user about this.
### Breaking
+++ * Acess numeric form of `EndpointType` variants now require a `.to_bm_attributes()` ([#60](https://github.com/rust-embedded-community/usb-device/pull/60)).
https://github.com/rust-embedded-community/usb-device/blob/7ebb10fe5f952955b416c5b05abc84d37bf82acf/CHANGELOG.md?plain=1#L22-L23
Since
EndpointType
is a public enum, and some crates may use the integer form of it. After this modification user will need to call.to_bm_attributes()
to access numeric form. We might add a another changelog to tell user about this.