#[repr(i64)]pub enum UNAlertStyle {
None = 0,
Banner = 1,
Alert = 2,
}
Expand description
Constants indicating the presentation styles for alerts.
Variants§
Trait Implementations§
Source§impl Clone for UNAlertStyle
impl Clone for UNAlertStyle
Source§fn clone(&self) -> UNAlertStyle
fn clone(&self) -> UNAlertStyle
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UNAlertStyle
impl Debug for UNAlertStyle
Source§impl Ord for UNAlertStyle
impl Ord for UNAlertStyle
Source§fn cmp(&self, other: &UNAlertStyle) -> Ordering
fn cmp(&self, other: &UNAlertStyle) -> 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 UNAlertStyle
impl PartialEq for UNAlertStyle
Source§impl PartialOrd for UNAlertStyle
impl PartialOrd for UNAlertStyle
impl Copy for UNAlertStyle
impl Eq for UNAlertStyle
impl StructuralPartialEq for UNAlertStyle
Auto Trait Implementations§
impl Freeze for UNAlertStyle
impl RefUnwindSafe for UNAlertStyle
impl Send for UNAlertStyle
impl Sync for UNAlertStyle
impl Unpin for UNAlertStyle
impl UnwindSafe for UNAlertStyle
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