enum PackageBaseKeywords {
PkgBase,
PackageBase(PackageBaseKeyword),
Relation(RelationKeyword),
SharedMeta(SharedMetaKeyword),
Source(SourceKeyword),
}
Expand description
The combination of all keywords that’re valid in the scope of a pkgbase
section.
Variants§
Implementations§
Source§impl PackageBaseKeywords
impl PackageBaseKeywords
Sourcepub fn parser(input: &mut &str) -> ModalResult<PackageBaseKeywords>
pub fn parser(input: &mut &str) -> ModalResult<PackageBaseKeywords>
Recognizes any of the PackageBaseKeywords
in an input string slice.
Does not consume input and stops after any keyword matches.
§Errors
Returns an error if input
contains an unexpected keyword.
Auto Trait Implementations§
impl Freeze for PackageBaseKeywords
impl RefUnwindSafe for PackageBaseKeywords
impl Send for PackageBaseKeywords
impl Sync for PackageBaseKeywords
impl Unpin for PackageBaseKeywords
impl UnwindSafe for PackageBaseKeywords
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