[web] move all reusable web code into egui_web

This commit is contained in:
Emil Ernerfeldt
2020-07-18 18:35:17 +02:00
parent 1a4c399e41
commit dfa4d52a94
8 changed files with 385 additions and 383 deletions
+6
View File
@@ -120,6 +120,12 @@ impl Into<Label> for &str {
}
}
impl Into<Label> for &String {
fn into(self) -> Label {
Label::new(self)
}
}
impl Into<Label> for String {
fn into(self) -> Label {
Label::new(self)