Enum script_traits::LayoutControlMsg
source · pub enum LayoutControlMsg {
ExitNow,
SetScrollStates(Vec<ScrollState>),
PaintMetric(Epoch, u64),
}
Expand description
Messages sent to layout from the constellation and/or compositor.
Variants§
ExitNow
Requests that this layout clean up before exit.
SetScrollStates(Vec<ScrollState>)
Tells layout about the new scrolling offsets of each scrollable stacking context.
PaintMetric(Epoch, u64)
Send the paint time for a specific epoch to layout.
Trait Implementations§
source§impl Debug for LayoutControlMsg
impl Debug for LayoutControlMsg
source§impl<'de> Deserialize<'de> for LayoutControlMsg
impl<'de> Deserialize<'de> for LayoutControlMsg
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for LayoutControlMsg
impl Send for LayoutControlMsg
impl Sync for LayoutControlMsg
impl Unpin for LayoutControlMsg
impl UnwindSafe for LayoutControlMsg
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
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