pub enum Persistence {
Transient,
Standing,
}Expand description
Whether a notice goes away on its own.
What makeover_layout::Notice::transient answers, taken as its answer
rather than as the Notice, which keeps this crate off makeover-layout’s
dependency graph. Exhaustive for MotionPreference’s reason.
Variants§
Transient
It dismisses itself, after Moment::Dismiss.
Standing
It stays until its cause is fixed, and has no lifetime.
Trait Implementations§
Source§impl Clone for Persistence
impl Clone for Persistence
impl Copy for Persistence
Source§impl Debug for Persistence
impl Debug for Persistence
impl Eq for Persistence
Source§impl Hash for Persistence
impl Hash for Persistence
Source§impl PartialEq for Persistence
impl PartialEq for Persistence
impl StructuralPartialEq for Persistence
Auto Trait Implementations§
impl Freeze for Persistence
impl RefUnwindSafe for Persistence
impl Send for Persistence
impl Sync for Persistence
impl Unpin for Persistence
impl UnsafeUnpin for Persistence
impl UnwindSafe for Persistence
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