pub fn encode_string(str: &str) -> Vec<u8> {
        str.chars().into_iter()
            .map(|c| TM1637Adapter::encode_char(c))
            .collect()
    }
/// Encodes a string for the 7-segment display. This uses
/// `encode_char` for each character.
Encodes a string for the 7-segment display. This uses
`encode_char` for each character.
Encodes a string for the 7 - segment display . This uses ` encode_char ` for each character .
pub fn encode_string(str: &str) -> Vec<u8> {
        str.chars().into_iter()
            .map(|c| TM1637Adapter::encode_char(c))
            .collect()
    }
pub fn encode_string ( str : & str ) -> Vec < u8 > { str . chars ( ) . into_iter ( ) . map ( | c | TM1637Adapter :: encode_char ( c ) ) . collect ( ) }
Encodes a string for the 7-segment display.
Encodes a string for the 7 - segment display .
str
&str