feat: wire up event delegator for webview
This commit is contained in:
1 parent
0a907b35c6
commit
7dfe89c958
21 files changed
+265
-272
No files matched your search
@@ -212,8 +212,8 @@ impl<'a, T: Copy + Div<T, Output = T>> DivAssign<T> for UseState<'a, T> {
|
||||
self.set(self.inner.current_val.div(rhs));
|
||||
}
|
||||
}
|
||||
impl<'a, T: PartialEq<T>> PartialEq<T> for UseState<'a, T> {
|
||||
fn eq(&self, other: &T) -> bool {
|
||||
impl<'a, V, T: PartialEq<V>> PartialEq<V> for UseState<'a, T> {
|
||||
fn eq(&self, other: &V) -> bool {
|
||||
self.get() == other
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user