pub enum ChromeBeforeUnloadReason {
Unknown,
CloseBrowsingContext,
Navigate,
Reload,
WindowClose,
}Variants§
Trait Implementations§
Source§impl Clone for ChromeBeforeUnloadReason
impl Clone for ChromeBeforeUnloadReason
Source§fn clone(&self) -> ChromeBeforeUnloadReason
fn clone(&self) -> ChromeBeforeUnloadReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChromeBeforeUnloadReason
impl Debug for ChromeBeforeUnloadReason
Source§impl From<BeforeUnloadReason> for ChromeBeforeUnloadReason
impl From<BeforeUnloadReason> for ChromeBeforeUnloadReason
Source§fn from(value: BeforeUnloadReason) -> Self
fn from(value: BeforeUnloadReason) -> Self
Converts to this type from the input type.
Source§impl From<ChromeBeforeUnloadReason> for BeforeUnloadReason
impl From<ChromeBeforeUnloadReason> for BeforeUnloadReason
Source§fn from(value: ChromeBeforeUnloadReason) -> Self
fn from(value: ChromeBeforeUnloadReason) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChromeBeforeUnloadReason
impl PartialEq for ChromeBeforeUnloadReason
impl Copy for ChromeBeforeUnloadReason
impl Eq for ChromeBeforeUnloadReason
impl StructuralPartialEq for ChromeBeforeUnloadReason
Auto Trait Implementations§
impl Freeze for ChromeBeforeUnloadReason
impl RefUnwindSafe for ChromeBeforeUnloadReason
impl Send for ChromeBeforeUnloadReason
impl Sync for ChromeBeforeUnloadReason
impl Unpin for ChromeBeforeUnloadReason
impl UnsafeUnpin for ChromeBeforeUnloadReason
impl UnwindSafe for ChromeBeforeUnloadReason
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