pub struct Settings { /* private fields */ }
Expand description

The Settings exposed by the module.

Implementations

Returns the directory where the bundle should be placed.

Returns the target triple.

Returns the architecture for the binary being bundled (e.g. “arm”, “x86” or “x86_64”).

Returns the file name of the binary being bundled.

Returns the path to the specified binary.

Returns the list of binaries to bundle.

If a list of package types was specified by the command-line, returns that list filtered by the current target OS available targets.

If a target triple was specified by the command-line, returns the native package type(s) for that target.

Otherwise returns the native package type(s) for the host platform.

Fails if the host/target’s native package type is not supported.

Returns the product name.

Returns the bundle’s identifier

Returns an iterator over the icon files to be used for this bundle.

Returns an iterator over the resource files to be included in this bundle.

Returns an iterator over the external binaries to be included in this bundle.

Copies external binaries to a path.

Copies resources to a path.

Returns the version string of the bundle.

Returns the copyright text.

Returns the list of authors name.

Returns the authors as a comma-separated string.

Returns the package’s homepage URL, defaulting to “” if not defined.

Returns the app’s category.

Returns the app’s short description.

Returns the app’s long description.

Returns the debian settings.

Returns the MacOS settings.

Returns the Windows settings.

Returns the Updater settings.

Is update enabled

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.