Struct webrender::scene_builder_thread::BuiltTransaction
source · pub struct BuiltTransaction {Show 15 fields
pub document_id: DocumentId,
pub built_scene: Option<BuiltScene>,
pub view: SceneView,
pub resource_updates: Vec<ResourceUpdate>,
pub rasterized_blobs: Vec<(BlobImageRequest, BlobImageResult)>,
pub blob_rasterizer: Option<Box<dyn AsyncBlobImageRasterizer>>,
pub frame_ops: Vec<FrameMsg>,
pub removed_pipelines: Vec<(PipelineId, DocumentId)>,
pub notifications: Vec<NotificationRequest>,
pub interner_updates: Option<InternerUpdates>,
pub spatial_tree_updates: Option<SpatialTreeUpdates>,
pub render_frame: bool,
pub invalidate_rendered_frame: bool,
pub profile: TransactionProfile,
pub frame_stats: FullFrameStats,
}
Expand description
Represent the remaining work associated to a transaction after the scene building phase as well as the result of scene building itself if applicable.
Fields§
§document_id: DocumentId
§built_scene: Option<BuiltScene>
§view: SceneView
§resource_updates: Vec<ResourceUpdate>
§rasterized_blobs: Vec<(BlobImageRequest, BlobImageResult)>
§blob_rasterizer: Option<Box<dyn AsyncBlobImageRasterizer>>
§frame_ops: Vec<FrameMsg>
§removed_pipelines: Vec<(PipelineId, DocumentId)>
§notifications: Vec<NotificationRequest>
§interner_updates: Option<InternerUpdates>
§spatial_tree_updates: Option<SpatialTreeUpdates>
§render_frame: bool
§invalidate_rendered_frame: bool
§profile: TransactionProfile
§frame_stats: FullFrameStats
Auto Trait Implementations§
impl !RefUnwindSafe for BuiltTransaction
impl Send for BuiltTransaction
impl !Sync for BuiltTransaction
impl Unpin for BuiltTransaction
impl !UnwindSafe for BuiltTransaction
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> 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>where
F: FnOnce(&Self) -> bool,
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where F: FnOnce(&Self) -> bool,
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 more