pub struct FinishedRecording {
pub primitives: Vec<DrawPrimitive>,
pub content_markers: u32,
pub recording: CommandRecording,
pub dropped: Vec<u32>,
}Expand description
What DrawScopeDefault::finish hands back: the materialized primitives,
the marker count that travels with them, and the recording buffers so a
retaining caller can lend them to the same command’s next recording.
Fields§
§primitives: Vec<DrawPrimitive>§content_markers: u32§recording: CommandRecording§dropped: Vec<u32>Tape indices that materialized to nothing (degenerate arcs), in ascending order — empty in practice. Consumers translating tape ranges into primitive ranges subtract the drops before each boundary.
Auto Trait Implementations§
impl !Send for FinishedRecording
impl !Sync for FinishedRecording
impl Freeze for FinishedRecording
impl RefUnwindSafe for FinishedRecording
impl Unpin for FinishedRecording
impl UnsafeUnpin for FinishedRecording
impl UnwindSafe for FinishedRecording
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