Trait AsStr

Source
pub trait AsStr {
    // Required method
    fn as_str(&self) -> &str;
}
Expand description

Trait for representing a structure as a string

Required Methods§

Source

fn as_str(&self) -> &str

Get the string representation of a structure

Implementors§