Struct tauri_bundler::bundle::Settings [−][src]
pub struct Settings { /* fields omitted */ }
Expand description
The Settings exposed by the module.
Implementations
impl Settings
[src]
impl Settings
[src]pub fn project_out_directory(&self) -> &Path
[src]
pub fn project_out_directory(&self) -> &Path
[src]Returns the directory where the bundle should be placed.
pub fn binary_arch(&self) -> &str
[src]
pub fn binary_arch(&self) -> &str
[src]Returns the architecture for the binary being bundled (e.g. “arm”, “x86” or “x86_64”).
pub fn main_binary_name(&self) -> &str
[src]
pub fn main_binary_name(&self) -> &str
[src]Returns the file name of the binary being bundled.
pub fn binary_path(&self, binary: &BundleBinary) -> PathBuf
[src]
pub fn binary_path(&self, binary: &BundleBinary) -> PathBuf
[src]Returns the path to the specified binary.
pub fn binaries(&self) -> &Vec<BundleBinary>
[src]
pub fn binaries(&self) -> &Vec<BundleBinary>
[src]Returns the list of binaries to bundle.
pub fn package_types(&self) -> Result<Vec<PackageType>>
[src]
pub fn package_types(&self) -> Result<Vec<PackageType>>
[src]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.
pub fn is_verbose(&self) -> bool
[src]
pub fn is_verbose(&self) -> bool
[src]Returns true if verbose logging is enabled
pub fn product_name(&self) -> &str
[src]
pub fn product_name(&self) -> &str
[src]Returns the product name.
pub fn bundle_identifier(&self) -> &str
[src]
pub fn bundle_identifier(&self) -> &str
[src]Returns the bundle’s identifier
pub fn icon_files(&self) -> ResourcePaths<'_>
[src]
pub fn icon_files(&self) -> ResourcePaths<'_>
[src]Returns an iterator over the icon files to be used for this bundle.
pub fn resource_files(&self) -> ResourcePaths<'_>
[src]
pub fn resource_files(&self) -> ResourcePaths<'_>
[src]Returns an iterator over the resource files to be included in this bundle.
pub fn external_binaries(&self) -> ResourcePaths<'_>
[src]
pub fn external_binaries(&self) -> ResourcePaths<'_>
[src]Returns an iterator over the external binaries to be included in this bundle.
pub fn copy_binaries(&self, path: &Path) -> Result<()>
[src]
pub fn copy_binaries(&self, path: &Path) -> Result<()>
[src]Copies external binaries to a path.
pub fn copy_resources(&self, path: &Path) -> Result<()>
[src]
pub fn copy_resources(&self, path: &Path) -> Result<()>
[src]Copies resources to a path.
pub fn version_string(&self) -> &str
[src]
pub fn version_string(&self) -> &str
[src]Returns the version string of the bundle.
pub fn copyright_string(&self) -> Option<&str>
[src]
pub fn copyright_string(&self) -> Option<&str>
[src]Returns the copyright text.
pub fn author_names(&self) -> &[String]
[src]
pub fn author_names(&self) -> &[String]
[src]Returns the list of authors name.
pub fn authors_comma_separated(&self) -> Option<String>
[src]
pub fn authors_comma_separated(&self) -> Option<String>
[src]Returns the authors as a comma-separated string.
pub fn homepage_url(&self) -> &str
[src]
pub fn homepage_url(&self) -> &str
[src]Returns the package’s homepage URL, defaulting to “” if not defined.
pub fn app_category(&self) -> Option<AppCategory>
[src]
pub fn app_category(&self) -> Option<AppCategory>
[src]Returns the app’s category.
pub fn short_description(&self) -> &str
[src]
pub fn short_description(&self) -> &str
[src]Returns the app’s short description.
pub fn long_description(&self) -> Option<&str>
[src]
pub fn long_description(&self) -> Option<&str>
[src]Returns the app’s long description.
pub fn deb(&self) -> &DebianSettings
[src]
pub fn deb(&self) -> &DebianSettings
[src]Returns the debian settings.
pub fn macos(&self) -> &MacOsSettings
[src]
pub fn macos(&self) -> &MacOsSettings
[src]Returns the MacOS settings.
pub fn windows(&self) -> &WindowsSettings
[src]
pub fn windows(&self) -> &WindowsSettings
[src]Returns the Windows settings.
pub fn is_update_enabled(&self) -> bool
[src]
pub fn is_update_enabled(&self) -> bool
[src]Is update enabled
pub fn is_updater_pubkey(&self) -> bool
[src]
pub fn is_updater_pubkey(&self) -> bool
[src]Is pubkey provided?
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more