Change From<str> for Selector to Text in iced_test
This commit is contained in:
parent
03326b955b
commit
f929a20d29
4 changed files with 21 additions and 11 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue