Enum tauri_bundler::bundle::AppCategory[][src]

pub enum AppCategory {
Show variants Business, DeveloperTool, Education, Entertainment, Finance, Game, ActionGame, AdventureGame, ArcadeGame, BoardGame, CardGame, CasinoGame, DiceGame, EducationalGame, FamilyGame, KidsGame, MusicGame, PuzzleGame, RacingGame, RolePlayingGame, SimulationGame, SportsGame, StrategyGame, TriviaGame, WordGame, GraphicsAndDesign, HealthcareAndFitness, Lifestyle, Medical, Music, News, Photography, Productivity, Reference, SocialNetworking, Sports, Travel, Utility, Video, Weather,
}

The possible app categories. Corresponds to LSApplicationCategoryType on macOS and the GNOME desktop categories on Debian.

Variants

Business
DeveloperTool
Education
Entertainment
Finance
Game
ActionGame
AdventureGame
ArcadeGame
BoardGame
CardGame
CasinoGame
DiceGame
EducationalGame
FamilyGame
KidsGame
MusicGame
PuzzleGame
RacingGame
RolePlayingGame
SimulationGame
SportsGame
StrategyGame
TriviaGame
WordGame
GraphicsAndDesign
HealthcareAndFitness
Lifestyle
Medical
Music
News
Photography
Productivity
Reference
SocialNetworking
Sports
Travel
Utility
Video
Weather

Implementations

impl AppCategory[src]

pub fn gnome_desktop_categories(self) -> &'static str[src]

Map an AppCategory to the closest set of GNOME desktop registered categories that matches that category.

pub fn macos_application_category_type(self) -> &'static str[src]

Map an AppCategory to the closest LSApplicationCategoryType value that matches that category.

Trait Implementations

impl Clone for AppCategory[src]

impl Copy for AppCategory[src]

impl Debug for AppCategory[src]

impl<'d> Deserialize<'d> for AppCategory[src]

impl Eq for AppCategory[src]

impl FromStr for AppCategory[src]

type Err = Option<&'static str>

The associated error which can be returned from parsing.

fn from_str(input: &str) -> Result<AppCategory, Self::Err>[src]

Given a string, returns the AppCategory it refers to, or the closest string that the user might have intended (if any).

impl PartialEq<AppCategory> for AppCategory[src]

impl StructuralEq for AppCategory[src]

impl StructuralPartialEq for AppCategory[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,