Enum script::dom::window::ReflowReason
source · pub enum ReflowReason {
Show 21 variants
CachedPageNeededReflow,
RefreshTick,
FirstLoad,
KeyEvent,
MouseEvent,
Query,
Timer,
Viewport,
WindowResize,
DOMContentLoaded,
DocumentLoaded,
StylesheetLoaded,
ImageLoaded,
RequestAnimationFrame,
WebFontLoaded,
WorkletLoaded,
FramedContentChanged,
IFrameLoadEvent,
MissingExplicitReflow,
ElementStateChanged,
PendingReflow,
}
Expand description
Extra information concerning the reason for reflowing.
Variants§
CachedPageNeededReflow
RefreshTick
FirstLoad
KeyEvent
MouseEvent
Query
Timer
Viewport
WindowResize
DOMContentLoaded
DocumentLoaded
StylesheetLoaded
ImageLoaded
RequestAnimationFrame
WebFontLoaded
WorkletLoaded
FramedContentChanged
IFrameLoadEvent
MissingExplicitReflow
ElementStateChanged
PendingReflow
Trait Implementations§
source§impl Debug for ReflowReason
impl Debug for ReflowReason
source§impl MallocSizeOf for ReflowReason
impl MallocSizeOf for ReflowReason
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Auto Trait Implementations§
impl RefUnwindSafe for ReflowReason
impl Send for ReflowReason
impl Sync for ReflowReason
impl Unpin for ReflowReason
impl UnwindSafe for ReflowReason
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert