Primitive type str
Implementations
impl<let N: u32> str<N>
pub fn as_bytes(self) -> [u8; N]
Converts the given string into a byte array
pub fn as_bytes_vec(self) -> Vec<u8>
return a byte vector of the str content
impl<let N: u32> str<N>pub fn as_bytes(self) -> [u8; N]
Converts the given string into a byte array
pub fn as_bytes_vec(self) -> Vec<u8>
return a byte vector of the str content
The string type.
Denoted
str<N>, its lengthNmust be known at compile-time.