Enum tauri_bundler::bundle::AppCategory [−][src]
#[non_exhaustive] 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,
Expand description
The possible app categories.
Corresponds to LSApplicationCategoryType
on macOS and the GNOME desktop categories on Debian.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations
impl AppCategory
[src]
impl AppCategory
[src]pub fn gnome_desktop_categories(self) -> &'static str
[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]
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 Clone for AppCategory
[src]fn clone(&self) -> AppCategory
[src]
fn clone(&self) -> AppCategory
[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 AppCategory
[src]
impl Debug for AppCategory
[src]impl<'d> Deserialize<'d> for AppCategory
[src]
impl<'d> Deserialize<'d> for AppCategory
[src]fn deserialize<D: Deserializer<'d>>(
deserializer: D
) -> Result<AppCategory, D::Error>
[src]
fn deserialize<D: Deserializer<'d>>(
deserializer: D
) -> Result<AppCategory, D::Error>
[src]Deserialize this value from the given Serde deserializer. Read more
impl FromStr for AppCategory
[src]
impl FromStr for AppCategory
[src]impl PartialEq<AppCategory> for AppCategory
[src]
impl PartialEq<AppCategory> for AppCategory
[src]impl Copy for AppCategory
[src]
impl Eq for AppCategory
[src]
impl StructuralEq for AppCategory
[src]
impl StructuralPartialEq for AppCategory
[src]
Auto Trait Implementations
impl RefUnwindSafe for AppCategory
impl Send for AppCategory
impl Sync for AppCategory
impl Unpin for AppCategory
impl UnwindSafe for AppCategory
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
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,