stm32-rs / stm32l0xx-hal

A hardware abstraction layer (HAL) for the STM32L0 series microcontrollers written in Rust
BSD Zero Clause License
96 stars 60 forks source link

Make Exti::TriggerEdge enum behave as constant (Copy+Clone+Eq+..) #217

Closed MarSik closed 2 years ago

MarSik commented 2 years ago

Exti::TriggerEdge is a plain enum and it should be possible to pass it by value without move. All the other enums in the exti module behave this way too.