Change From<str> for Selector to Text in iced_test

This commit is contained in:
Héctor Ramón Jiménez 2025-05-28 03:25:39 +02:00
parent 03326b955b
commit f929a20d29
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
4 changed files with 21 additions and 11 deletions

View file

@ -23,6 +23,12 @@ impl Id {
}
}
impl From<&'static str> for Id {
fn from(value: &'static str) -> Self {
Self::new(value)
}
}
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
enum Internal {
Unique(usize),