implement readable and callable for all structs in the hooks crate
This commit is contained in:
1 parent
98158bdc6f
commit
ffc49530f6
13 files changed
+167
-491
No files matched your search
@@ -204,6 +204,15 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> IntoDynNode for Memo<T>
|
||||
where
|
||||
T: Clone + IntoDynNode + PartialEq,
|
||||
{
|
||||
fn into_dyn_node(self) -> dioxus_core::DynamicNode {
|
||||
self().into_dyn_node()
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: 'static> PartialEq for Memo<T> {
|
||||
fn eq(&self, other: &Self) -> bool {
|
||||
self.inner == other.inner
|
||||
|
||||
Reference in new issue
Block a user