pub struct SourceFileRegistry {
pub files: HashMap<String, String>,
pub file_order: Vec<String>,
}Expand description
A source file registry that tracks all loaded files.
Fields§
§files: HashMap<String, String>Map from filename to source content
file_order: Vec<String>File IDs in order of loading
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SourceFileRegistry
impl RefUnwindSafe for SourceFileRegistry
impl Send for SourceFileRegistry
impl Sync for SourceFileRegistry
impl Unpin for SourceFileRegistry
impl UnsafeUnpin for SourceFileRegistry
impl UnwindSafe for SourceFileRegistry
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