pub struct Archive {
pub name: String,
pub item: RefCell<ArchiveType>,
}
Fields§
§name: String
§item: RefCell<ArchiveType>
Implementations§
source§impl Archive
impl Archive
pub fn get_name(&self) -> &String
pub fn explore<'a>( &'a mut self, gcno_stem_archives: &RefCell<FxHashMap<GCNOStem, &'a Archive>>, gcda_stem_archives: &RefCell<FxHashMap<String, Vec<&'a Archive>>>, profraws: &RefCell<FxHashMap<String, Vec<&'a Archive>>>, infos: &RefCell<FxHashMap<String, Vec<&'a Archive>>>, xmls: &RefCell<FxHashMap<String, Vec<&'a Archive>>>, linked_files_maps: &RefCell<FxHashMap<String, &'a Archive>>, is_llvm: bool )
pub fn read(&self, name: &str) -> Option<Vec<u8>>
pub fn extract(&self, name: &str, path: &Path) -> bool
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Archive
impl Send for Archive
impl !Sync for Archive
impl Unpin for Archive
impl UnwindSafe for Archive
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