pub enum WebViewControlAnswer {
Dismissed,
Confirmed,
Text(String),
Selected(usize),
}Expand description
How a presenter answered a WebViewControl.
Variants§
Dismissed
Cancelled, closed, or for a list, left as it was.
Confirmed
The alert acknowledged, the confirm accepted.
Text(String)
The prompt’s text.
Selected(usize)
The option chosen in a list, by WebViewSelectOption::id.
Trait Implementations§
Source§impl Clone for WebViewControlAnswer
impl Clone for WebViewControlAnswer
Source§impl Debug for WebViewControlAnswer
impl Debug for WebViewControlAnswer
impl Eq for WebViewControlAnswer
Source§impl PartialEq for WebViewControlAnswer
impl PartialEq for WebViewControlAnswer
impl StructuralPartialEq for WebViewControlAnswer
Auto Trait Implementations§
impl Forget for WebViewControlAnswer
impl Freeze for WebViewControlAnswer
impl Move for WebViewControlAnswer
impl RefUnwindSafe for WebViewControlAnswer
impl Send for WebViewControlAnswer
impl Sync for WebViewControlAnswer
impl Unpin for WebViewControlAnswer
impl UnsafeUnpin for WebViewControlAnswer
impl UnwindSafe for WebViewControlAnswer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more