pub trait Style: Any + Replica + Upcast {
fn assignability(&self) -> Assignability;
fn id() -> Cow<'static, str>
where
Self: Sized,
{ ... }
fn resolve(styles: &Styles) -> Option<&Self>
where
Self: Sized,
{ ... }
fn resolve_or_default(styles: &Styles) -> MaybeOwned<'_, Self>
where
Self: Default + Sized,
{ ... }
}