uv-python 0.0.50

This is an internal component crate of uv
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::{Deserialize, Serialize};

#[derive(Debug, Copy, Clone, Serialize, Deserialize)]
pub enum PointerSize {
    /// 32-bit architecture.
    #[serde(rename = "32")]
    _32,
    /// 64-bit architecture.
    #[serde(rename = "64")]
    _64,
}

impl PointerSize {
    pub const fn is_64(self) -> bool {
        matches!(self, Self::_64)
    }
}