#[non_exhaustive]
pub enum PackageManager {
Cargo,
Pnpm,
Yarn,
Npm,
}
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.
Implementations§
source§impl<'a> PackageManager
impl<'a> PackageManager
pub const ALL: &'a [PackageManager] = _
Trait Implementations§
source§impl Clone for PackageManager
impl Clone for PackageManager
source§fn clone(&self) -> PackageManager
fn clone(&self) -> PackageManager
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 PackageManager
impl Debug for PackageManager
source§impl Default for PackageManager
impl Default for PackageManager
source§impl Display for PackageManager
impl Display for PackageManager
source§impl FromStr for PackageManager
impl FromStr for PackageManager
source§impl PartialEq<PackageManager> for PackageManager
impl PartialEq<PackageManager> for PackageManager
source§fn eq(&self, other: &PackageManager) -> bool
fn eq(&self, other: &PackageManager) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.