pub enum MiniAppVendor {
Show 13 variants
Wechat,
Alipay,
Douyin,
Baidu,
Qq,
Kuaishou,
Jd,
Xhs,
Dingtalk,
Feishu,
Taobao,
Meituan,
HarmonyAtomic,
}Expand description
All 13 supported super-app MiniApp ecosystem targets.
Variants§
WeChat Mini-Program (wx, .wxml/.wxss, WXWebAssembly).
Alipay
Alipay Mini-Program (my, .axml/.acss, MYWebAssembly).
Douyin
Douyin / ByteDance Mini-Program (tt, .ttml/.ttss, TTWebAssembly).
Baidu
Baidu Smart Mini-Program (swan, .swan/.css).
QQ Mini-Program (qq, .qml/.qss, QQWebAssembly).
Kuaishou
Kuaishou Mini-Program (ks, .ksml/.css).
Jd
JD Mini-Program (jd, .jxml/.jxss).
Xhs
Xiaohongshu Mini-Program (xhs, .xhsml/.css).
Dingtalk
DingTalk Mini-Program (dd, .axml/.acss, MYWebAssembly).
Feishu
Feishu / Lark Mini-Program (tt, .ttml/.ttss, TTWebAssembly).
Taobao
Taobao Mini-Program (my, .axml/.acss, MYWebAssembly).
Meituan
Meituan Mini-Program (mt, .mxml/.mxss).
HarmonyAtomic
HarmonyOS Atomic Service (bundleType=atomicService, installationFree=true).
Implementations§
Source§impl MiniAppVendor
Vendor specification helpers for MiniAppVendor.
impl MiniAppVendor
Vendor specification helpers for MiniAppVendor.
Sourcepub fn as_label(&self) -> &'static str
pub fn as_label(&self) -> &'static str
Returns the canonical lowercase vendor directory and CLI label.
§Returns
&'static str- Canonical MiniApp vendor name.
Sourcepub fn api_namespace(&self) -> &'static str
pub fn api_namespace(&self) -> &'static str
Returns the JavaScript host API namespace (wx, my, tt, swan, etc.).
§Returns
&'static str- Host global API object name.
Sourcepub fn markup_ext(&self) -> &'static str
pub fn markup_ext(&self) -> &'static str
Returns the vendor page markup file extension (wxml, axml, ttml, etc.).
§Returns
&'static str- Markup extension without leading dot.
Sourcepub fn style_ext(&self) -> &'static str
pub fn style_ext(&self) -> &'static str
Returns the vendor stylesheet file extension (wxss, acss, ttss, css, etc.).
§Returns
&'static str- Stylesheet extension without leading dot.
Sourcepub fn config_file(&self) -> &'static str
pub fn config_file(&self) -> &'static str
Returns the vendor IDE project configuration filename.
§Returns
&'static str- Config filename at project root.
Sourcepub fn uses_alipay_syntax(&self) -> bool
pub fn uses_alipay_syntax(&self) -> bool
Returns whether this vendor uses Alipay-style markup events (onTouchStart vs bindtouchstart).
§Returns
bool-truefor Alipay, DingTalk, and Taobao.
Sourcepub fn wasm_global(&self) -> &'static str
pub fn wasm_global(&self) -> &'static str
Returns the vendor WebAssembly global identifier (WXWebAssembly, MYWebAssembly, etc.).
§Returns
&'static str- Vendor WebAssembly global symbol name.
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<'de> Deserialize<'de> for MiniAppVendor
impl<'de> Deserialize<'de> for MiniAppVendor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for MiniAppVendor
Source§impl PartialEq for MiniAppVendor
impl PartialEq for MiniAppVendor
Source§impl Serialize for MiniAppVendor
impl Serialize 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§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more