pub trait FileLineSource<C: Character>: TextLineSource<C> {
// Required method
fn path(&self) -> &Path;
}Expand description
An abstraction over a TextLineSource that has a Path - i.e. represents the contents of a file.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".