3 authors Merge #1161
1161: Add read_as_enum() to LocalRegisterCopy r=ppannuto a=andre-richter

I just hit a case where I wanted to use this. I think it makes sense to add?

Co-authored-by: Andre Richter <andre.o.richter@gmail.com>
Co-authored-by: Pat Pannuto <pat.pannuto@gmail.com>
Latest commit 504f23d Aug 23, 2018