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<'a>(input: &mut Input<'a>) -> PResult<'a, SharedMetaKeyword>
pub fn parser<'a>(input: &mut Input<'a>) -> PResult<'a, SharedMetaKeyword>
Recognizes a SharedMetaKeyword in a string slice.
Trait Implementations§
Source§fn clone(&self) -> SharedMetaKeyword
fn clone(&self) -> SharedMetaKeyword
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 moreAuto 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