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) -> FileID
pub fn get_line(&self, start: usize, file_id: FileID) -> Option<usize>
pub fn to_storage(&self) -> &SimpleFiles<FilePath, FileSource>
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