pub struct FileLibrary { /* private fields */ }Implementations§
source§impl FileLibrary
impl FileLibrary
pub fn new() -> FileLibrary
pub fn add_file( &mut self, file_name: FilePath, file_source: FileSource, is_user_input: bool ) -> FileID
pub fn get_line(&self, start: usize, file_id: FileID) -> Option<usize>
pub fn to_storage(&self) -> &SimpleFiles<FilePath, FileSource>
pub fn user_inputs(&self) -> &HashSet<FileID>
pub fn is_user_input(&self, file_id: FileID) -> bool
Trait Implementations§
source§impl Clone for FileLibrary
impl Clone for FileLibrary
source§fn clone(&self) -> FileLibrary
fn clone(&self) -> FileLibrary
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more