pub enum MiniAppVendor {
WeChat,
Alipay,
Douyin,
Baidu,
Qq,
Kuaishou,
HarmonyAtomic,
}Expand description
All 7 supported super-app Mini-Program and Atomic Service host ecosystems.
Variants§
WeChat Mini-Program (wx, .wxml / .wxss).
Alipay
Alipay Mini-Program (my, .axml / .acss).
Douyin
Douyin / ByteDance Mini-Program (tt, .ttml / .ttss).
Baidu
Baidu Smart Mini-Program (swan, .swan / .css).
QQ Mini-Program (qq, .qml / .qss).
Kuaishou
Kuaishou Mini-Program (ks, .ksml / .css).
HarmonyAtomic
HarmonyOS Atomic Service (atomic, installationFree: true, ArkTS .ets).
Implementations§
Source§impl MiniAppVendor
Canonical identifier, global JS namespace, template extension, and tag helpers for MiniAppVendor.
impl MiniAppVendor
Canonical identifier, global JS namespace, template extension, and tag helpers for MiniAppVendor.
Sourcepub const fn global_namespace(&self) -> &'static str
pub const fn global_namespace(&self) -> &'static str
Sourcepub const fn template_extension(&self) -> &'static str
pub const fn template_extension(&self) -> &'static str
Sourcepub const fn all_vendors() -> [Self; 7]
pub const fn all_vendors() -> [Self; 7]
Returns all 7 supported Mini-Program and Atomic Service vendors.
§Returns
[Self; 7]- Complete array of Mini-Program vendors.
Trait Implementations§
Source§impl Clone for MiniAppVendor
impl Clone for MiniAppVendor
impl Copy for MiniAppVendor
Source§impl Debug for MiniAppVendor
impl Debug for MiniAppVendor
Source§impl Default for MiniAppVendor
impl Default for MiniAppVendor
impl Eq for MiniAppVendor
Source§impl Hash for MiniAppVendor
impl Hash for MiniAppVendor
Source§impl Ord for MiniAppVendor
impl Ord for MiniAppVendor
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MiniAppVendor
impl PartialEq for MiniAppVendor
Source§impl PartialOrd for MiniAppVendor
impl PartialOrd for MiniAppVendor
impl StructuralPartialEq for MiniAppVendor
Auto Trait Implementations§
impl Forget for MiniAppVendor
impl Freeze for MiniAppVendor
impl Move for MiniAppVendor
impl RefUnwindSafe for MiniAppVendor
impl Send for MiniAppVendor
impl Sync for MiniAppVendor
impl Unpin for MiniAppVendor
impl UnsafeUnpin for MiniAppVendor
impl UnwindSafe for MiniAppVendor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more