pub enum PackageFile {
License(LicenseKind),
Readme,
Changelog,
}
Variants§
Trait Implementations§
Source§impl Clone for PackageFile
impl Clone for PackageFile
Source§fn clone(&self) -> PackageFile
fn clone(&self) -> PackageFile
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 Display for PackageFile
impl Display for PackageFile
Source§impl From<PackageFile> for PackageError
impl From<PackageFile> for PackageError
Source§fn from(value: PackageFile) -> Self
fn from(value: PackageFile) -> Self
Converts to this type from the input type.
impl Copy for PackageFile
Auto Trait Implementations§
impl Freeze for PackageFile
impl RefUnwindSafe for PackageFile
impl Send for PackageFile
impl Sync for PackageFile
impl Unpin for PackageFile
impl UnwindSafe for PackageFile
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