pub enum NotificationLevel {
Low,
Normal,
Critical,
}Expand description
系统通知的重要级别。平台实现可把 Critical 映射为常驻提醒。
Variants§
Trait Implementations§
Source§impl Clone for NotificationLevel
impl Clone for NotificationLevel
impl Copy for NotificationLevel
Source§impl Debug for NotificationLevel
impl Debug for NotificationLevel
Source§impl Default for NotificationLevel
impl Default for NotificationLevel
impl Eq for NotificationLevel
Source§impl PartialEq for NotificationLevel
impl PartialEq for NotificationLevel
impl StructuralPartialEq for NotificationLevel
Auto Trait Implementations§
impl Forget for NotificationLevel
impl Freeze for NotificationLevel
impl Move for NotificationLevel
impl RefUnwindSafe for NotificationLevel
impl Send for NotificationLevel
impl Sync for NotificationLevel
impl Unpin for NotificationLevel
impl UnsafeUnpin for NotificationLevel
impl UnwindSafe for NotificationLevel
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