pub enum PackageKind {
Jsr,
Npm,
}
Variants§
Implementations§
Source§impl PackageKind
impl PackageKind
pub fn scheme_with_colon(self) -> &'static str
Trait Implementations§
Source§impl Clone for PackageKind
impl Clone for PackageKind
Source§fn clone(&self) -> PackageKind
fn clone(&self) -> PackageKind
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 PackageKind
impl Debug for PackageKind
Source§impl Hash for PackageKind
impl Hash for PackageKind
Source§impl Ord for PackageKind
impl Ord for PackageKind
Source§fn cmp(&self, other: &PackageKind) -> Ordering
fn cmp(&self, other: &PackageKind) -> Ordering
1.21.0 · 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 PackageKind
impl PartialEq for PackageKind
Source§impl PartialOrd for PackageKind
impl PartialOrd for PackageKind
impl Copy for PackageKind
impl Eq for PackageKind
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 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