pub enum MemoryEvent {
FrameCommitted,
WindowHidden,
WindowShown,
AllWindowsHidden,
SessionUnmounted,
RendererDeviceLost,
ThemeOrScaleChanged,
ModeratePressure,
CriticalPressure,
ExplicitTrim,
ApplicationShutdown,
}Variants§
FrameCommitted
WindowHidden
WindowShown
AllWindowsHidden
SessionUnmounted
RendererDeviceLost
ThemeOrScaleChanged
ModeratePressure
CriticalPressure
ExplicitTrim
ApplicationShutdown
Implementations§
Source§impl MemoryEvent
impl MemoryEvent
pub const fn trim_reason(self) -> TrimReason
Trait Implementations§
Source§impl Clone for MemoryEvent
impl Clone for MemoryEvent
Source§fn clone(&self) -> MemoryEvent
fn clone(&self) -> MemoryEvent
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 MemoryEvent
Source§impl Debug for MemoryEvent
impl Debug for MemoryEvent
impl Eq for MemoryEvent
Source§impl Hash for MemoryEvent
impl Hash for MemoryEvent
Source§impl PartialEq for MemoryEvent
impl PartialEq for MemoryEvent
impl StructuralPartialEq for MemoryEvent
Auto Trait Implementations§
impl Freeze for MemoryEvent
impl RefUnwindSafe for MemoryEvent
impl Send for MemoryEvent
impl Sync for MemoryEvent
impl Unpin for MemoryEvent
impl UnsafeUnpin for MemoryEvent
impl UnwindSafe for MemoryEvent
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