pub struct FileLibrary { /* private fields */ }Implementations
sourceimpl 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
sourceimpl Clone for FileLibrary
impl Clone for FileLibrary
sourcefn clone(&self) -> FileLibrary
fn clone(&self) -> FileLibrary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for FileLibrary
impl Send for FileLibrary
impl Sync for FileLibrary
impl Unpin for FileLibrary
impl UnwindSafe for FileLibrary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more