Enum tauri_bundler::bundle::PackageType [−][src]
pub enum PackageType { MacOsBundle, IosBundle, Deb, Rpm, AppImage, Dmg, Updater, }
The type of the package we’re bundling.
Variants
The macOS application bundle (.app).
The iOS app bundle.
The Linux Debian package bundle (.deb).
The Linux RPM bundle (.rpm).
The Linux AppImage bundle (.AppImage).
The macOS DMG bundle (.dmg).
The Updater bundle.
Implementations
impl PackageType
[src]
impl 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]
Gets the short name of this PackageType.
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]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PackageType
[src]
impl Copy for PackageType
[src]impl Eq for PackageType
[src]
impl Eq for PackageType
[src]impl PartialEq<PackageType> for PackageType
[src]
impl PartialEq<PackageType> for PackageType
[src]impl StructuralEq for PackageType
[src]
impl StructuralEq for PackageType
[src]impl StructuralPartialEq for PackageType
[src]
impl StructuralPartialEq for PackageType
[src]Auto Trait Implementations
impl RefUnwindSafe for PackageType
impl RefUnwindSafe for PackageType
impl Send for PackageType
impl Send for PackageType
impl Sync for PackageType
impl Sync for PackageType
impl Unpin for PackageType
impl Unpin for PackageType
impl UnwindSafe for PackageType
impl UnwindSafe for PackageType