from_str_truncate

Function from_str_truncate 

Source
pub fn from_str_truncate<const N: usize>(s: &str) -> String<N>
Expand description

Create a heapless string from a string slice, truncating if necessary