Thanks, I should have re-read the thread after things clicked for me. Indeed, the unstable Unsize
marker trait you discovered does what you want. Perhaps From
should be implemented for it, so that you could just do View(self.into())
.
Thanks, I should have re-read the thread after things clicked for me. Indeed, the unstable Unsize
marker trait you discovered does what you want. Perhaps From
should be implemented for it, so that you could just do View(self.into())
.