heapless icon indicating copy to clipboard operation
heapless copied to clipboard

String: add `StringView`, similar to `VecView`

Open sosthene-nitrokey opened this issue 1 year ago • 2 comments

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.

sosthene-nitrokey avatar Feb 08 '24 10:02 sosthene-nitrokey

Please use a macro to implement the traits, as I did in https://github.com/rust-embedded/heapless/pull/451.

reitermarkus avatar Feb 08 '24 21:02 reitermarkus

Done. And I added some inline hints similarly to #451

sosthene-nitrokey avatar Feb 09 '24 08:02 sosthene-nitrokey

closing in favor of #487

Dirbaio avatar Jun 30 '24 22:06 Dirbaio