Checkpoint

This commit is contained in:
Antonio Scandurra
2023-10-17 22:16:48 +02:00
parent a8697df9e3
commit 4db0350f06
18 changed files with 117 additions and 66 deletions
+8 -2
View File
@@ -1167,7 +1167,13 @@ impl From<i32> for ElementId {
}
impl From<SharedString> for ElementId {
fn from(id: SharedString) -> Self {
ElementId::Name(id)
fn from(name: SharedString) -> Self {
ElementId::Name(name)
}
}
impl From<&'static str> for ElementId {
fn from(name: &'static str) -> Self {
ElementId::Name(name.into())
}
}