pub enum NodePackageManagerPreference {
Npm,
Pnpm,
Yarn,
Bun,
}Expand description
Preferred package manager for a Node-oriented project.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NodePackageManagerPreference
impl Clone for NodePackageManagerPreference
Source§fn clone(&self) -> NodePackageManagerPreference
fn clone(&self) -> NodePackageManagerPreference
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NodePackageManagerPreference
impl Debug for NodePackageManagerPreference
Source§impl Hash for NodePackageManagerPreference
impl Hash for NodePackageManagerPreference
Source§impl Ord for NodePackageManagerPreference
impl Ord for NodePackageManagerPreference
Source§fn cmp(&self, other: &NodePackageManagerPreference) -> Ordering
fn cmp(&self, other: &NodePackageManagerPreference) -> Ordering
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
Source§impl PartialEq for NodePackageManagerPreference
impl PartialEq for NodePackageManagerPreference
Source§fn eq(&self, other: &NodePackageManagerPreference) -> bool
fn eq(&self, other: &NodePackageManagerPreference) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NodePackageManagerPreference
impl PartialOrd for NodePackageManagerPreference
impl Copy for NodePackageManagerPreference
impl Eq for NodePackageManagerPreference
impl StructuralPartialEq for NodePackageManagerPreference
Auto Trait Implementations§
impl Freeze for NodePackageManagerPreference
impl RefUnwindSafe for NodePackageManagerPreference
impl Send for NodePackageManagerPreference
impl Sync for NodePackageManagerPreference
impl Unpin for NodePackageManagerPreference
impl UnsafeUnpin for NodePackageManagerPreference
impl UnwindSafe for NodePackageManagerPreference
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