#[non_exhaustive]pub enum PackageKind {
Cargo,
Gleam,
Jsr,
Npm,
Pub,
Python,
Ruby,
}Expand description
A supported package manager.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Cargo
See: https://crates.io/
Gleam
See: https://gleam.run/
Jsr
See: https://jsr.io/
Npm
See: https://npmjs.com/
Pub
See: https://pub.dev/
Python
See: https://pypi.org/
Ruby
Implementations§
Source§impl PackageKind
impl PackageKind
Trait Implementations§
Source§impl Clone for PackageKind
impl Clone for PackageKind
Source§impl Debug for PackageKind
impl Debug for PackageKind
Source§impl Default for PackageKind
impl Default for PackageKind
Source§impl<'de> Deserialize<'de> for PackageKind
Available on crate feature serde only.
impl<'de> Deserialize<'de> for PackageKind
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PackageKind
impl Display for PackageKind
impl Eq for PackageKind
Source§impl FromStr for PackageKind
impl FromStr for PackageKind
Source§impl Hash for PackageKind
impl Hash for PackageKind
Source§impl Ord for PackageKind
impl Ord for PackageKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PackageKind
impl PartialEq for PackageKind
Source§impl PartialOrd for PackageKind
impl PartialOrd for PackageKind
Source§impl Serialize for PackageKind
Available on crate feature serde only.
impl Serialize for PackageKind
Available on crate feature
serde only.impl StructuralPartialEq for PackageKind
Auto Trait Implementations§
impl Freeze for PackageKind
impl RefUnwindSafe for PackageKind
impl Send for PackageKind
impl Sync for PackageKind
impl Unpin for PackageKind
impl UnsafeUnpin for PackageKind
impl UnwindSafe for PackageKind
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