pub enum SwitcherContentKind {
Lxapp {
app_id: String,
},
Page {
app_id: String,
},
Browser,
Native {
capability: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for SwitcherContentKind
impl Clone for SwitcherContentKind
Source§fn clone(&self) -> SwitcherContentKind
fn clone(&self) -> SwitcherContentKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SwitcherContentKind
impl Debug for SwitcherContentKind
Source§impl<'de> Deserialize<'de> for SwitcherContentKind
impl<'de> Deserialize<'de> for SwitcherContentKind
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
impl Eq for SwitcherContentKind
Source§impl From<&SurfaceContent> for SwitcherContentKind
impl From<&SurfaceContent> for SwitcherContentKind
Source§fn from(content: &SurfaceContent) -> Self
fn from(content: &SurfaceContent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SwitcherContentKind
impl PartialEq for SwitcherContentKind
Source§impl Serialize for SwitcherContentKind
impl Serialize for SwitcherContentKind
impl StructuralPartialEq for SwitcherContentKind
Auto Trait Implementations§
impl Freeze for SwitcherContentKind
impl RefUnwindSafe for SwitcherContentKind
impl Send for SwitcherContentKind
impl Sync for SwitcherContentKind
impl Unpin for SwitcherContentKind
impl UnsafeUnpin for SwitcherContentKind
impl UnwindSafe for SwitcherContentKind
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