Struct rust_utils::linux::AurPkgbuildBuilder
source · pub struct AurPkgbuildBuilder { /* private fields */ }
Expand description
Builder to create a basic Arch Linux PKGBUILD for an app
Implementations§
source§impl AurPkgbuildBuilder
impl AurPkgbuildBuilder
sourcepub fn new(
name: &str,
version: &str,
author_name: &str,
author_email: &str,
desc: &str,
source_url: &str,
url: &str,
license: &str,
build_bash: &str,
pkg_bash: &str,
) -> Self
pub fn new( name: &str, version: &str, author_name: &str, author_email: &str, desc: &str, source_url: &str, url: &str, license: &str, build_bash: &str, pkg_bash: &str, ) -> Self
Create a new AurPkgbuildBuilder
sourcepub fn dependency(self, dep: &str) -> Self
pub fn dependency(self, dep: &str) -> Self
Add a dependency for the PKGBUILD
sourcepub fn make_dependency(self, dep: &str) -> Self
pub fn make_dependency(self, dep: &str) -> Self
Add make a dependency for the PKGBUILD
Auto Trait Implementations§
impl Freeze for AurPkgbuildBuilder
impl RefUnwindSafe for AurPkgbuildBuilder
impl Send for AurPkgbuildBuilder
impl Sync for AurPkgbuildBuilder
impl Unpin for AurPkgbuildBuilder
impl UnwindSafe for AurPkgbuildBuilder
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