Struct tauri_bundler::bundle::SettingsBuilder
source · pub struct SettingsBuilder { /* private fields */ }
Expand description
A builder for Settings
.
Implementations§
source§impl SettingsBuilder
impl SettingsBuilder
sourcepub fn project_out_directory<P: AsRef<Path>>(self, path: P) -> Self
pub fn project_out_directory<P: AsRef<Path>>(self, path: P) -> Self
Sets the project output directory. It’s used as current working directory.
sourcepub fn package_types(self, package_types: Vec<PackageType>) -> Self
pub fn package_types(self, package_types: Vec<PackageType>) -> Self
Sets the package types to create.
sourcepub fn package_settings(self, settings: PackageSettings) -> Self
pub fn package_settings(self, settings: PackageSettings) -> Self
Sets the package settings.
sourcepub fn bundle_settings(self, settings: BundleSettings) -> Self
pub fn bundle_settings(self, settings: BundleSettings) -> Self
Sets the bundle settings.
sourcepub fn binaries(self, binaries: Vec<BundleBinary>) -> Self
pub fn binaries(self, binaries: Vec<BundleBinary>) -> Self
Sets the binaries to bundle.
sourcepub fn log_level(self, level: Level) -> Self
pub fn log_level(self, level: Level) -> Self
Sets the log level for spawned commands. Defaults to log::Level::Error
.
Trait Implementations§
source§impl Default for SettingsBuilder
impl Default for SettingsBuilder
source§fn default() -> SettingsBuilder
fn default() -> SettingsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SettingsBuilder
impl Send for SettingsBuilder
impl Sync for SettingsBuilder
impl Unpin for SettingsBuilder
impl UnwindSafe for SettingsBuilder
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
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.