#[non_exhaustive]pub enum PackageManager {
Cargo,
Pnpm,
Yarn,
Npm,
Deno,
Bun,
Dotnet,
}
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]
Sourcepub const NODE: &'a [PackageManager]
pub const NODE: &'a [PackageManager]
Node.js managers
Trait Implementations§
Source§impl Clone for PackageManager
impl Clone for PackageManager
Source§fn clone(&self) -> PackageManager
fn clone(&self) -> PackageManager
Returns a duplicate 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§fn default() -> PackageManager
fn default() -> PackageManager
Returns the “default value” for a type. Read more
Source§impl Display for PackageManager
impl Display for PackageManager
Source§impl FromStr for PackageManager
impl FromStr for PackageManager
Source§impl PartialEq for PackageManager
impl PartialEq for PackageManager
impl Copy for PackageManager
impl Eq for PackageManager
impl StructuralPartialEq for PackageManager
Auto Trait Implementations§
impl Freeze for PackageManager
impl RefUnwindSafe for PackageManager
impl Send for PackageManager
impl Sync for PackageManager
impl Unpin for PackageManager
impl UnwindSafe for PackageManager
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