pub enum UpdateUiMode {
Builtin,
Custom,
}Variants§
Builtin
LingXia owns the host app update prompt, download progress UI, and install handoff.
Custom
LingXia never shows built-in host app update UI or installs automatically. The native host owns check/download/install UX explicitly.
Trait Implementations§
Source§impl Clone for UpdateUiMode
impl Clone for UpdateUiMode
Source§fn clone(&self) -> UpdateUiMode
fn clone(&self) -> UpdateUiMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateUiMode
impl Debug for UpdateUiMode
Source§impl Default for UpdateUiMode
impl Default for UpdateUiMode
Source§fn default() -> UpdateUiMode
fn default() -> UpdateUiMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateUiMode
impl<'de> Deserialize<'de> for UpdateUiMode
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UpdateUiMode
impl PartialEq for UpdateUiMode
Source§impl Serialize for UpdateUiMode
impl Serialize for UpdateUiMode
impl Copy for UpdateUiMode
impl Eq for UpdateUiMode
impl StructuralPartialEq for UpdateUiMode
Auto Trait Implementations§
impl Freeze for UpdateUiMode
impl RefUnwindSafe for UpdateUiMode
impl Send for UpdateUiMode
impl Sync for UpdateUiMode
impl Unpin for UpdateUiMode
impl UnsafeUnpin for UpdateUiMode
impl UnwindSafe for UpdateUiMode
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