rtic icon indicating copy to clipboard operation
rtic copied to clipboard

relax rtic-time generics

Open burrbull opened this issue 2 years ago • 1 comments

burrbull avatar May 17 '23 05:05 burrbull

I think this is a pretty good idea.

For clarity, it may be good to rename the TimerQueue to PriorityQueue (since that is what it becomes with this relaxation), and add a pub type TimerQueue<M> = PriorityQueue<<M as Monotonic>::Instant> to indicate what the types' respective goals are, and what they' re bound to. Not sure if it is feasible or any more/less usable in that case, though

datdenkikniet avatar May 20 '23 08:05 datdenkikniet

Might collide with and/or become obsolete through #874.

Finomnis avatar Apr 13 '24 14:04 Finomnis