Struct install_wheel_rs::WheelFilename
source · 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 copy 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<WheelFilename> for WheelFilename
impl PartialEq<WheelFilename> for WheelFilename
source§fn eq(&self, other: &WheelFilename) -> bool
fn eq(&self, other: &WheelFilename) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for WheelFilename
impl StructuralEq for WheelFilename
impl StructuralPartialEq for WheelFilename
Auto Trait Implementations§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.