Enum PackageType
pub enum PackageType {
Module,
CommonJs,
}Expand description
package.json package type metadata.
Variants§
Implementations§
§impl PackageType
impl PackageType
Trait Implementations§
§impl Clone for PackageType
impl Clone for PackageType
§fn clone(&self) -> PackageType
fn clone(&self) -> PackageType
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 more§impl Debug for PackageType
impl Debug for PackageType
§impl Hash for PackageType
impl Hash for PackageType
§impl Ord for PackageType
impl Ord for PackageType
§impl PartialEq for PackageType
impl PartialEq for PackageType
§impl PartialOrd for PackageType
impl PartialOrd for PackageType
impl Copy for PackageType
impl Eq for PackageType
impl StructuralPartialEq for PackageType
Auto Trait Implementations§
impl Freeze for PackageType
impl RefUnwindSafe for PackageType
impl Send for PackageType
impl Sync for PackageType
impl Unpin for PackageType
impl UnsafeUnpin for PackageType
impl UnwindSafe for PackageType
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