pub enum Persistence {
Transient,
Standing,
}Expand description
Whether a notice goes away on its own.
The answer makeover_layout::Notice::transient gives, carried without the
Notice itself: this crate does not depend on makeover-layout.
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 Forget for Persistence
impl Freeze for Persistence
impl Move 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