pub trait StrRead {
// Required method
fn peek_str(&self) -> Option<&str>;
// Provided method
fn is_empty(&self) -> bool { ... }
}Expand description
The base trait that both RealStrRead and StringRead need to implement.
pub trait StrRead {
// Required method
fn peek_str(&self) -> Option<&str>;
// Provided method
fn is_empty(&self) -> bool { ... }
}The base trait that both RealStrRead and StringRead need to implement.