(&self)
| 543 | } |
| 544 | |
| 545 | pub fn is_text_input(&self) -> bool { |
| 546 | matches!( |
| 547 | self.role(), |
| 548 | Role::TextInput |
| 549 | | Role::MultilineTextInput |
| 550 | | Role::SearchInput |
| 551 | | Role::DateInput |
| 552 | | Role::DateTimeInput |
| 553 | | Role::WeekInput |
| 554 | | Role::MonthInput |
| 555 | | Role::TimeInput |
| 556 | | Role::EmailInput |
| 557 | | Role::NumberInput |
| 558 | | Role::PasswordInput |
| 559 | | Role::PhoneNumberInput |
| 560 | | Role::UrlInput |
| 561 | | Role::EditableComboBox |
| 562 | | Role::SpinButton |
| 563 | ) |
| 564 | } |
| 565 | |
| 566 | pub fn is_multiline(&self) -> bool { |
| 567 | self.role() == Role::MultilineTextInput |
no outgoing calls
no test coverage detected