pub trait StringType: uWrite { // Required methods fn new() -> Self; fn as_str(&self) -> &str; }
Trait to allow instantiation and passing as &str for a type.
&str
Instantiate the StringType.
StringType
Allow passing the StringType as &str.