Skip to main content

type_from_string

Function type_from_string 

Source
pub fn type_from_string(name: &str) -> usize
Expand description

Convert an ascii string name to the integer type for a box. The name must be four characters long.