Skip to main content

FileLineSource

Trait FileLineSource 

Source
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§

Source

fn path(&self) -> &Path

Implementors§