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>>>, profdatas: &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>>>, gocovs: &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 !Freeze for Archive
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more