pub enum RelationKeyword {
Depends,
OptDepends,
Provides,
Conflicts,
Replaces,
}
Expand description
Keywords that describe alpm-package-relations.
Variants§
Implementations§
Source§impl RelationKeyword
impl RelationKeyword
Sourcepub fn parser(input: &mut &str) -> ModalResult<RelationKeyword>
pub fn parser(input: &mut &str) -> ModalResult<RelationKeyword>
Recognizes a RelationKeyword
in a string slice.
Trait Implementations§
Source§impl Debug for RelationKeyword
impl Debug for RelationKeyword
Source§impl FromStr for RelationKeyword
impl FromStr for RelationKeyword
Source§impl TryFrom<&str> for RelationKeyword
impl TryFrom<&str> for RelationKeyword
Auto Trait Implementations§
impl Freeze for RelationKeyword
impl RefUnwindSafe for RelationKeyword
impl Send for RelationKeyword
impl Sync for RelationKeyword
impl Unpin for RelationKeyword
impl UnwindSafe for RelationKeyword
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