pub enum SharedMetaKeyword {
PkgDesc,
Url,
License,
Arch,
Changelog,
Install,
Groups,
Options,
Backup,
}
Expand description
Keywords that may exist both in pkgbase
and pkgname
sections in SRCINFO data.
Variants§
PkgDesc
The description of a package.
Url
The upstream URL of a package.
License
The license of a package.
Arch
The alpm-architecture of a package.
Changelog
The path to a changelog file of a package.
Install
The path to an alpm-install-scriptlet of a package.
Groups
The alpm-package-groups a package is part of.
Options
The build tool options used when building a package.
Backup
The path of a file in a package that should be backed up.
Implementations§
Sourcepub fn parser(input: &mut &str) -> ModalResult<SharedMetaKeyword>
pub fn parser(input: &mut &str) -> ModalResult<SharedMetaKeyword>
Recognizes a SharedMetaKeyword
in a string slice.
Trait Implementations§
Auto Trait Implementations§
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