pub struct RecordTables {
pub shapes: ShapeRecords,
pub brushes: Vec<BrushRecord>,
pub stops: Vec<GradientStopRecord>,
pub explicit_stops: Vec<f32>,
pub segments: Vec<RecordSegment>,
/* private fields */
}Expand description
The POD half of a recording: what the GPU reads, shared with the
renderer behind an Arc so a packet carries it without a copy.
Fields§
§shapes: ShapeRecords§brushes: Vec<BrushRecord>§stops: Vec<GradientStopRecord>§explicit_stops: Vec<f32>§segments: Vec<RecordSegment>Implementations§
Source§impl RecordTables
impl RecordTables
Sourcepub fn fingerprint(&self) -> u64
pub fn fingerprint(&self) -> u64
A hash of everything the GPU reads and of the segments, computed the first time a cache asks and kept while the tables stand.
Sourcepub fn heap_bytes(&self) -> usize
pub fn heap_bytes(&self) -> usize
The heap the tables hold, capacity included.
Trait Implementations§
Source§impl Clone for RecordTables
impl Clone for RecordTables
Source§impl Debug for RecordTables
impl Debug for RecordTables
Source§impl Default for RecordTables
impl Default for RecordTables
Auto Trait Implementations§
impl !Freeze for RecordTables
impl RefUnwindSafe for RecordTables
impl Send for RecordTables
impl Sync for RecordTables
impl Unpin for RecordTables
impl UnsafeUnpin for RecordTables
impl UnwindSafe for RecordTables
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