pub enum ToastPriority {
Normal,
High,
Urgent,
}Expand description
Queue / assertiveness level — shared with the public Toast builder
API. Lives here in teksilo-core so the style trait can take it in its
config without depending on teksilo-widgets.
Variants§
Normal
Queues if max_visible reached; admits in order. Default.
High
Shown immediately; bumps the oldest Normal entry if needed. Doesn’t interrupt screen-reader speech.
Urgent
Shown immediately; forces Live::Assertive regardless of severity.
Trait Implementations§
Source§impl Clone for ToastPriority
impl Clone for ToastPriority
Source§fn clone(&self) -> ToastPriority
fn clone(&self) -> ToastPriority
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ToastPriority
Source§impl Debug for ToastPriority
impl Debug for ToastPriority
Source§impl Default for ToastPriority
impl Default for ToastPriority
Source§fn default() -> ToastPriority
fn default() -> ToastPriority
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToastPriority
impl<'de> Deserialize<'de> for ToastPriority
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ToastPriority
Source§impl Hash for ToastPriority
impl Hash for ToastPriority
Source§impl PartialEq for ToastPriority
impl PartialEq for ToastPriority
Source§impl Serialize for ToastPriority
impl Serialize for ToastPriority
impl StructuralPartialEq for ToastPriority
Auto Trait Implementations§
impl Freeze for ToastPriority
impl RefUnwindSafe for ToastPriority
impl Send for ToastPriority
impl Sync for ToastPriority
impl Unpin for ToastPriority
impl UnsafeUnpin for ToastPriority
impl UnwindSafe for ToastPriority
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