Clean up Element API and start on docs
This commit is contained in:
parent
5f2bb82ef3
commit
83923fd6d5
125 changed files with 370 additions and 335 deletions
|
@ -40,9 +40,9 @@ impl LabelCommon for Label {
|
|||
}
|
||||
|
||||
impl RenderOnce for Label {
|
||||
type Rendered = LabelLike;
|
||||
type Output = LabelLike;
|
||||
|
||||
fn render(self, _cx: &mut WindowContext) -> Self::Rendered {
|
||||
fn render(self, _cx: &mut WindowContext) -> Self::Output {
|
||||
self.base.child(self.label)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue