add some utilities around AnyValueRc

This commit is contained in:
Evan Almloff committed 2022-12-10 12:50:15 -06:00
1 parent 0c0158f62d
commit 0813d531f1
5 files changed
+49 -12

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
use crate::{state::State, tree::NodeId};
use dioxus_core::{AnyValueBox, AttributeValue, ElementId};
use dioxus_core::{AnyValueRc, AttributeValue, ElementId};
use rustc_hash::{FxHashMap, FxHashSet};
use std::fmt::Debug;
@@ -79,7 +79,7 @@ pub enum OwnedAttributeValue {
Float(f64),
Int(i64),
Bool(bool),
Any(AnyValueBox),
Any(AnyValueRc),
None,
}