pub struct Records { /* private fields */ }Expand description
Internal Struct for managing package records.
Implementations
sourceimpl Records
impl Records
pub fn new(cache: Rc<RefCell<UniquePtr<PkgCacheFile>>>) -> Self
pub fn lookup_desc(&mut self, desc: &UniquePtr<DescIterator>)
pub fn lookup_ver(&mut self, ver_file: &VersionFile)
pub fn description(&self) -> String
pub fn summary(&self) -> String
pub fn uri(&self, pkg_file: &VersionFile) -> String
pub fn hash_find(&self, hash_type: &str) -> Option<String>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Records
impl !Send for Records
impl !Sync for Records
impl !Unpin for Records
impl !UnwindSafe for Records
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more