Skip to main content

PythonView

Type Alias PythonView 

Source
pub type PythonView = CoordView<PythonSpec>;
Expand description

Typed view over the python sub-index.

Aliased Type§

pub struct PythonView { /* private fields */ }

Implementations§

Source§

impl PythonView

Source

pub fn get(&self, name: &str, version: &str) -> Option<PythonPackage>

O(1) lookup → handle. None if the distribution is not in the archive.

Source

pub fn list(&self) -> Vec<(String, String)>

Authoritative (name, version) coords of every distribution.