fix: derive various traits on Dom to make it easier to derive traits on structs that take a generic Renderer

This commit is contained in:
Greg Johnston 2024-08-28 07:25:08 -04:00 committed by GitHub
parent 7dc58e248c
commit 5790d8ad12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@ use web_sys::{
};
/// A [`Renderer`] that uses `web-sys` to manipulate DOM elements in the browser.
#[derive(Debug)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct Dom;
thread_local! {