heapless
heapless copied to clipboard
String: add `StringView`, similar to `VecView`
Follow up of #425
This time we need a dedicated sealed module for StringInner, because of the pub mod string in lib.rs. Maybe VecInner should have the same treatment, in case some time in the future the vec module is made public.
Please use a macro to implement the traits, as I did in https://github.com/rust-embedded/heapless/pull/451.
Done. And I added some inline hints similarly to #451
closing in favor of #487