pub trait SourceFile {
// Required methods
fn span(&self) -> SourceSpan;
fn source(&self) -> &str;
// Provided method
fn source_bytes(&self) -> &[u8] ⓘ { ... }
}
pub trait SourceFile {
// Required methods
fn span(&self) -> SourceSpan;
fn source(&self) -> &str;
// Provided method
fn source_bytes(&self) -> &[u8] ⓘ { ... }
}