pub struct WheelFilename {
pub distribution: String,
pub version: String,
pub python_tag: Vec<String>,
pub abi_tag: Vec<String>,
pub platform_tag: Vec<String>,
}
Fields§
§distribution: String
§version: String
§python_tag: Vec<String>
§abi_tag: Vec<String>
§platform_tag: Vec<String>
Implementations§
Source§impl WheelFilename
impl WheelFilename
Sourcepub fn compatibility(
&self,
compatible_tags: &CompatibleTags,
) -> Result<usize, Error>
pub fn compatibility( &self, compatible_tags: &CompatibleTags, ) -> Result<usize, Error>
Returns Some(precedence) is the wheels are compatible, otherwise none
Precedence is e.g. used to install newer manylinux wheels over older manylinux wheels
Trait Implementations§
Source§impl Clone for WheelFilename
impl Clone for WheelFilename
Source§fn clone(&self) -> WheelFilename
fn clone(&self) -> WheelFilename
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WheelFilename
impl Debug for WheelFilename
Source§impl FromStr for WheelFilename
impl FromStr for WheelFilename
Source§impl PartialEq for WheelFilename
impl PartialEq for WheelFilename
impl Eq for WheelFilename
impl StructuralPartialEq for WheelFilename
Auto Trait Implementations§
impl Freeze for WheelFilename
impl RefUnwindSafe for WheelFilename
impl Send for WheelFilename
impl Sync for WheelFilename
impl Unpin for WheelFilename
impl UnwindSafe for WheelFilename
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.