pub enum TrimReason {
SoftBudget,
HardBudget,
WindowHidden,
AllWindowsHidden,
SessionUnmounted,
DeviceLost,
ThemeOrScaleChanged,
ModeratePressure,
CriticalPressure,
Explicit,
Shutdown,
}Variants§
SoftBudget
HardBudget
WindowHidden
AllWindowsHidden
SessionUnmounted
DeviceLost
ThemeOrScaleChanged
ModeratePressure
CriticalPressure
Explicit
Shutdown
Trait Implementations§
Source§impl Clone for TrimReason
impl Clone for TrimReason
Source§fn clone(&self) -> TrimReason
fn clone(&self) -> TrimReason
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 TrimReason
Source§impl Debug for TrimReason
impl Debug for TrimReason
Source§impl Default for TrimReason
impl Default for TrimReason
Source§fn default() -> TrimReason
fn default() -> TrimReason
Returns the “default value” for a type. Read more
impl Eq for TrimReason
Source§impl Hash for TrimReason
impl Hash for TrimReason
Source§impl PartialEq for TrimReason
impl PartialEq for TrimReason
impl StructuralPartialEq for TrimReason
Auto Trait Implementations§
impl Freeze for TrimReason
impl RefUnwindSafe for TrimReason
impl Send for TrimReason
impl Sync for TrimReason
impl Unpin for TrimReason
impl UnsafeUnpin for TrimReason
impl UnwindSafe for TrimReason
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