This commit is contained in:
Nathan Sobo 2023-10-26 11:31:47 +02:00
parent 45a8aea0f0
commit db15db45ce
2 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,7 @@ use derive_more::{Deref, DerefMut};
pub(crate) use smallvec::SmallVec;
use std::{any::Any, mem};
pub trait Element<V: 'static>: IntoAnyElement<V> {
pub trait Element<V: 'static> {
type ElementState: 'static;
fn id(&self) -> Option<ElementId>;