pub struct Keyword {
pub keyword: String,
pub suffix: Option<String>,
}
Expand description
A keyword (with an optional Architecture
suffix) of a variable found in the output of the
alpm-pkgbuild-bridge
script.
Fields§
§keyword: String
The name of the keyword.
suffix: Option<String>
The optional _$suffix
that indicates a specific architecture.
Implementations§
Trait Implementations§
impl Eq for Keyword
impl StructuralPartialEq for Keyword
Auto Trait Implementations§
impl Freeze for Keyword
impl RefUnwindSafe for Keyword
impl Send for Keyword
impl Sync for Keyword
impl Unpin for Keyword
impl UnwindSafe for Keyword
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