pub struct ParcelBuilder(/* private fields */);Expand description
A builder allowing to configuration of optional parcel properties.
Implementations§
Source§impl ParcelBuilder
impl ParcelBuilder
Sourcepub fn cargo_binaries<I>(self, bins: I) -> Self
pub fn cargo_binaries<I>(self, bins: I) -> Self
Configures the cargo binaries.
Sourcepub fn man_pages<I>(self, sources: I) -> Result<Self, ManPageError>
pub fn man_pages<I>(self, sources: I) -> Result<Self, ManPageError>
Configures the man pages to install.
Sourcepub fn pkg_data<I>(self, pkg_data: I) -> Result<Self, PkgDataError>
pub fn pkg_data<I>(self, pkg_data: I) -> Result<Self, PkgDataError>
Configures data files and directories to be installed in an application-specific directory.
The strings passed will be expanded as glob expressions, and need to refer to existing files or directories, relative to the crate root directory. The resulting list of paths will be copied, recursively, in the case of directories into the application-specific data directory below the installation prefix. Note they will be placed in that directory using their file name, ignoring any leading directory components.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParcelBuilder
impl RefUnwindSafe for ParcelBuilder
impl Send for ParcelBuilder
impl Sync for ParcelBuilder
impl Unpin for ParcelBuilder
impl UnwindSafe for ParcelBuilder
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