Struct compositing::compositor::PipelineDetails
source · struct PipelineDetails {
pipeline: Option<CompositionPipeline>,
parent_pipeline_id: Option<PipelineId>,
most_recent_display_list_epoch: Option<Epoch>,
animations_running: bool,
animation_callbacks_running: bool,
throttled: bool,
hit_test_items: Vec<HitTestInfo>,
scroll_tree: ScrollTree,
}
Fields§
§pipeline: Option<CompositionPipeline>
The pipeline associated with this PipelineDetails object.
parent_pipeline_id: Option<PipelineId>
The id of the parent pipeline, if any.
most_recent_display_list_epoch: Option<Epoch>
The epoch of the most recent display list for this pipeline. Note that this display list might not be displayed, as WebRender processes display lists asynchronously.
animations_running: bool
Whether animations are running
animation_callbacks_running: bool
Whether there are animation callbacks
throttled: bool
Whether to use less resources by stopping animations.
hit_test_items: Vec<HitTestInfo>
Hit test items for this pipeline. This is used to map WebRender hit test information to the full information necessary for Servo.
scroll_tree: ScrollTree
The compositor-side ScrollTree. This is used to allow finding and scrolling nodes in the compositor before forwarding new offsets to WebRender.
Implementations§
source§impl PipelineDetails
impl PipelineDetails
fn new() -> PipelineDetails
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
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> 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>
Converts
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>
Converts
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 moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
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