/// Find a source file by its reference filename.
Find a source file by its reference filename.
Find a source file by its reference filename .
fn find_filename(&self, filename: &str) -> Option<SourceFileRef> {
        match self.filename_map.get(filename) {
            Some(&index) => Some(SourceFileRef { index }),
            None => None,
        }
    }
fn find_filename ( & self , filename : & str ) -> Option < SourceFileRef > { match self . filename_map . get ( filename ) { Some ( & index ) => Some ( SourceFileRef { index } ) , None => None , } }
Find a source file by its reference filename.
Find a source file by its reference filename .
&self
filename
&str