pub(crate) struct PipelineDetails {
    pub pipeline: Option<CompositionPipeline>,
    pub parent_pipeline_id: Option<PipelineId>,
    pub animations_running: bool,
    pub animation_callbacks_running: bool,
    pub throttled: bool,
    pub scroll_tree: ScrollTree,
    pub first_paint_metric: Cell<PaintMetricState>,
    pub first_contentful_paint_metric: Cell<PaintMetricState>,
    pub largest_contentful_paint_metric: Cell<PaintMetricState>,
    pub viewport_scale: Option<Scale<f32, CSSPixel, DevicePixel>>,
    pub exited: PipelineExitSource,
    pub display_list_epoch: Option<Epoch>,
}Fields§
§pipeline: Option<CompositionPipeline>The pipeline associated with this PipelineDetails object.
parent_pipeline_id: Option<PipelineId>The id of the parent pipeline, if any.
animations_running: boolWhether animations are running
animation_callbacks_running: boolWhether there are animation callbacks
throttled: boolWhether to use less resources by stopping animations.
scroll_tree: ScrollTreeThe compositor-side ScrollTree. This is used to allow finding and scrolling nodes in the compositor before forwarding new offsets to WebRender.
first_paint_metric: Cell<PaintMetricState>The paint metric status of the first paint.
first_contentful_paint_metric: Cell<PaintMetricState>The paint metric status of the first contentful paint.
largest_contentful_paint_metric: Cell<PaintMetricState>The paint metric status of the largest contentful paint.
viewport_scale: Option<Scale<f32, CSSPixel, DevicePixel>>The CSS pixel to device pixel scale of the viewport of this pipeline, including page zoom, but not including any pinch zoom amount. This is used to detect situations where the current display list is for an old scale.
exited: PipelineExitSourceWhich parts of Servo have reported that this Pipeline has exited. Only when all
have done so will it be discarded.
display_list_epoch: Option<Epoch>The Epoch of the latest display list received for this Pipeline or None if no
display list has been received.
Implementations§
Source§impl PipelineDetails
 
impl PipelineDetails
pub(crate) fn new() -> PipelineDetails
pub(crate) fn install_new_scroll_tree(&mut self, new_scroll_tree: ScrollTree)
Auto Trait Implementations§
impl !Freeze for PipelineDetails
impl !RefUnwindSafe for PipelineDetails
impl Send for PipelineDetails
impl !Sync for PipelineDetails
impl Unpin for PipelineDetails
impl UnwindSafe for PipelineDetails
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
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> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more