pub trait StringType: uWrite {
    // Required methods
    fn new() -> Self;
    fn as_str(&self) -> &str;
}
Expand description

Trait to allow instantiation and passing as &str for a type.

Required Methods§

source

fn new() -> Self

Instantiate the StringType.

source

fn as_str(&self) -> &str

Allow passing the StringType as &str.

Implementors§

source§

impl<const N: usize> StringType for String<N>