WIP: Add disclosable channels

This commit is contained in:
Mikayla 2023-08-18 14:54:05 -07:00
parent 29c339e3b4
commit 3178adefde
No known key found for this signature in database
5 changed files with 136 additions and 36 deletions

View file

@ -50,6 +50,13 @@ pub trait Component<V: View> {
{
ComponentAdapter::new(self)
}
fn styleable(self) -> StylableComponentAdapter<Self, V>
where
Self: Sized,
{
StylableComponentAdapter::new(self)
}
}
impl<V: View, C: GeneralComponent> Component<V> for C {