pub enum FrameSpan {
Retained {
slot: u32,
capture: bool,
slot_offset: u32,
range: (u32, u32),
tape_range: (u32, u32),
transform: RecordTransform,
recolors: Vec<(u32, Color)>,
bounds: Rect,
},
Dynamic {
range: (u32, u32),
},
}Expand description
One primitive-space span of a CommandReplayFrame.
Variants§
Retained
Fields
§
capture: boolTrue only when range holds the slot’s full capture content
(partition frames, transform identity): retain it under the
slot’s identity.
§
range: (u32, u32)The span’s primitives in the run’s primitive vector. EMPTY when
the span was bypassed — its records were never materialized and
the renderer draws it from the retained slot, or asks the
recorder to materialize tape_range on demand when it cannot.
§
tape_range: (u32, u32)The span’s records in the command’s recording tape, for emergency rematerialization of a bypassed span.
§
transform: RecordTransformDynamic
Trait Implementations§
impl StructuralPartialEq for FrameSpan
Auto Trait Implementations§
impl Freeze for FrameSpan
impl RefUnwindSafe for FrameSpan
impl Send for FrameSpan
impl Sync for FrameSpan
impl Unpin for FrameSpan
impl UnsafeUnpin for FrameSpan
impl UnwindSafe for FrameSpan
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