Function to_name

Source
pub fn to_name(val: &str) -> [u8; 32]
Expand description

Helper: convert a name to a fixed-size array