Enum tauri_bundler::bundle::PackageType [−][src]
#[non_exhaustive] pub enum PackageType { MacOsBundle, IosBundle, WindowsMsi, Deb, Rpm, AppImage, Dmg, Updater, }
Expand description
The type of the package we’re bundling.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Expand description
The macOS application bundle (.app).
Expand description
The iOS app bundle.
Expand description
The Windows bundle (.msi).
Expand description
The Linux Debian package bundle (.deb).
Expand description
The Linux RPM bundle (.rpm).
Expand description
The Linux AppImage bundle (.AppImage).
Expand description
The macOS DMG bundle (.dmg).
Expand description
The Updater bundle.
Implementations
impl PackageType
[src]
impl PackageType
[src]pub fn from_short_name(name: &str) -> Option<PackageType>
[src]
pub fn from_short_name(name: &str) -> Option<PackageType>
[src]Maps a short name to a PackageType. Possible values are “deb”, “ios”, “msi”, “app”, “rpm”, “appimage”, “dmg”, “updater”.
pub fn short_name(&self) -> &'static str
[src]
pub fn short_name(&self) -> &'static str
[src]Gets the short name of this PackageType.
pub fn all() -> &'static [PackageType]
[src]
pub fn all() -> &'static [PackageType]
[src]Gets the list of the possible package types.
Trait Implementations
impl Clone for PackageType
[src]
impl Clone for PackageType
[src]fn clone(&self) -> PackageType
[src]
fn clone(&self) -> PackageType
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for PackageType
[src]
impl Debug for PackageType
[src]impl PartialEq<PackageType> for PackageType
[src]
impl PartialEq<PackageType> for PackageType
[src]impl Copy for PackageType
[src]
impl Eq for PackageType
[src]
impl StructuralEq for PackageType
[src]
impl StructuralPartialEq for PackageType
[src]
Auto Trait Implementations
impl RefUnwindSafe for PackageType
impl Send for PackageType
impl Sync for PackageType
impl Unpin for PackageType
impl UnwindSafe for PackageType
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