pub struct BuiltTransaction {Show 18 fields
pub document_id: DocumentId,
pub built_scene: Option<BuiltScene>,
pub offscreen_scenes: Vec<OffscreenBuiltScene>,
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 present: bool,
pub tracked: 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>§offscreen_scenes: Vec<OffscreenBuiltScene>§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§present: bool§tracked: bool§invalidate_rendered_frame: bool§profile: TransactionProfile§frame_stats: FullFrameStatsAuto Trait Implementations§
impl Freeze for BuiltTransaction
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>
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 more