pub enum SurfaceContent {
Lxapp {
app_id: String,
path: Option<String>,
},
Page {
app_id: String,
path: String,
},
Browser {
initial_url: String,
reuse_by_url: bool,
},
Native {
capability: String,
instance_key: Option<String>,
},
}Expand description
Content hosted by a surface after declaration/runtime request resolution.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SurfaceContent
impl Clone for SurfaceContent
Source§fn clone(&self) -> SurfaceContent
fn clone(&self) -> SurfaceContent
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 SurfaceContent
impl Debug for SurfaceContent
Source§impl<'de> Deserialize<'de> for SurfaceContent
impl<'de> Deserialize<'de> for SurfaceContent
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 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 SurfaceContent
impl PartialEq for SurfaceContent
Source§impl Serialize for SurfaceContent
impl Serialize for SurfaceContent
impl StructuralPartialEq for SurfaceContent
Auto Trait Implementations§
impl Freeze for SurfaceContent
impl RefUnwindSafe for SurfaceContent
impl Send for SurfaceContent
impl Sync for SurfaceContent
impl Unpin for SurfaceContent
impl UnsafeUnpin for SurfaceContent
impl UnwindSafe for SurfaceContent
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