#[non_exhaustive]pub enum ScriptDialogType {
Alert,
Confirm,
Prompt,
BeforeUnloadConfirm,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ScriptDialogType
impl Clone for ScriptDialogType
Source§fn clone(&self) -> ScriptDialogType
fn clone(&self) -> ScriptDialogType
Returns a copy 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 ScriptDialogType
impl Debug for ScriptDialogType
Source§impl Display for ScriptDialogType
impl Display for ScriptDialogType
Source§impl<'a> FromValue<'a> for ScriptDialogType
impl<'a> FromValue<'a> for ScriptDialogType
Source§type Checker = GenericValueTypeChecker<ScriptDialogType>
type Checker = GenericValueTypeChecker<ScriptDialogType>
Value type checker.
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moreSource§impl Hash for ScriptDialogType
impl Hash for ScriptDialogType
Source§impl Ord for ScriptDialogType
impl Ord for ScriptDialogType
Source§fn cmp(&self, other: &ScriptDialogType) -> Ordering
fn cmp(&self, other: &ScriptDialogType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ScriptDialogType
impl PartialEq for ScriptDialogType
Source§impl PartialOrd for ScriptDialogType
impl PartialOrd for ScriptDialogType
Source§impl StaticType for ScriptDialogType
impl StaticType for ScriptDialogType
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.Source§impl ToValue for ScriptDialogType
impl ToValue for ScriptDialogType
Source§impl ValueType for ScriptDialogType
impl ValueType for ScriptDialogType
Source§type Type = ScriptDialogType
type Type = ScriptDialogType
Type to get the
Type
from. Read moreimpl Copy for ScriptDialogType
impl Eq for ScriptDialogType
impl StructuralPartialEq for ScriptDialogType
Auto Trait Implementations§
impl Freeze for ScriptDialogType
impl RefUnwindSafe for ScriptDialogType
impl Send for ScriptDialogType
impl Sync for ScriptDialogType
impl Unpin for ScriptDialogType
impl UnwindSafe for ScriptDialogType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.