pub struct FileCache { /* private fields */ }
Expand description
A [Cache
] that fetches Source
s from the filesystem.
Implementations§
Source§impl FileCache
impl FileCache
Sourcepub unsafe fn set_source(&mut self, file: FileID, source: String) -> bool
pub unsafe fn set_source(&mut self, file: FileID, source: String) -> bool
Set the file source buy not update the context
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileCache
impl RefUnwindSafe for FileCache
impl Send for FileCache
impl Sync for FileCache
impl Unpin for FileCache
impl UnwindSafe for FileCache
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more