Remove native and web features from dioxus-html (#3006)
* remove native and web features from dioxus-html * Fix downcasting web events * Fix desktop with tokio disabled
This commit is contained in:
1 parent
677e0e7f4f
commit
cda8bb24f1
54 files changed
+1768
-1512
No files matched your search
@@ -1,7 +1,7 @@
|
||||
//! Handles querying data from the renderer
|
||||
|
||||
use std::{
|
||||
fmt::{Display, Formatter},
|
||||
fmt::{Debug, Display, Formatter},
|
||||
future::Future,
|
||||
pin::Pin,
|
||||
};
|
||||
@@ -70,6 +70,12 @@ pub struct MountedData {
|
||||
inner: Box<dyn RenderedElementBacking>,
|
||||
}
|
||||
|
||||
impl Debug for MountedData {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
f.debug_struct("MountedData").finish()
|
||||
}
|
||||
}
|
||||
|
||||
impl<E: RenderedElementBacking> From<E> for MountedData {
|
||||
fn from(e: E) -> Self {
|
||||
Self { inner: Box::new(e) }
|
||||
|
||||
Reference in new issue
Block a user