Struct tauri_bundler::bundle::SettingsBuilder
source · [−]pub struct SettingsBuilder { /* private fields */ }
Expand description
A builder for Settings
.
Implementations
sourceimpl 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.
Trait Implementations
sourceimpl Default for SettingsBuilder
impl Default for SettingsBuilder
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn 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
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn 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()
.
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian()
.
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian()
.