[−][src]Struct cargo_parcel::ParcelBuilder
A builder allowing to configuration of optional parcel properties.
Methods
impl ParcelBuilder
[src]
pub fn cargo_binaries<I>(self, bins: I) -> Self where
I: IntoIterator,
I::Item: AsRef<str>,
[src]
I: IntoIterator,
I::Item: AsRef<str>,
Configures the cargo binaries.
pub fn man_pages<I>(self, sources: I) -> Result<Self, ManPageError> where
I: IntoIterator,
I::Item: AsRef<str>,
[src]
I: IntoIterator,
I::Item: AsRef<str>,
Configures the man pages to install.
pub fn pkg_data<I>(self, pkg_data: I) -> Result<Self, PkgDataError> where
I: IntoIterator,
I::Item: AsRef<str>,
[src]
I: IntoIterator,
I::Item: AsRef<str>,
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.
pub fn finish(self) -> Parcel
[src]
Finishes configuration and returns the parcel as configured.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ParcelBuilder
impl Send for ParcelBuilder
impl Sync for ParcelBuilder
impl Unpin for ParcelBuilder
impl UnwindSafe for ParcelBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,