pub struct WheelInfo {
pub name: String,
pub version: String,
pub build_tag: Option<String>,
pub python_tag: String,
pub abi_tag: String,
pub platform_tag: String,
}Expand description
Parsed wheel filename metadata.
Fields§
§name: String§version: String§build_tag: Option<String>§python_tag: String§abi_tag: String§platform_tag: StringImplementations§
Source§impl WheelInfo
impl WheelInfo
Sourcepub fn normalized_name(&self) -> String
pub fn normalized_name(&self) -> String
Normalized package name per PEP 503 (lowercase, replace [-_.] with -)
Sourcepub fn dist_info_dir(&self) -> String
pub fn dist_info_dir(&self) -> String
The dist-info directory name inside the wheel
Trait Implementations§
impl StructuralPartialEq for WheelInfo
Auto Trait Implementations§
impl Freeze for WheelInfo
impl RefUnwindSafe for WheelInfo
impl Send for WheelInfo
impl Sync for WheelInfo
impl Unpin for WheelInfo
impl UnsafeUnpin for WheelInfo
impl UnwindSafe for WheelInfo
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