pub struct Dialog {
pub page: PageHandle,
pub id: u64,
pub kind: &'static str,
pub message: String,
pub default: String,
}Expand description
A JavaScript dialog a page is blocked on.
Fields§
§page: PageHandle§id: u64§kind: &'static stralert, confirm or prompt.
message: String§default: StringA prompt’s default text.
Trait Implementations§
impl Eq for Dialog
impl StructuralPartialEq for Dialog
Auto Trait Implementations§
impl Forget for Dialog
impl Freeze for Dialog
impl Move for Dialog
impl RefUnwindSafe for Dialog
impl Send for Dialog
impl Sync for Dialog
impl Unpin for Dialog
impl UnsafeUnpin for Dialog
impl UnwindSafe for Dialog
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