pub struct GlyphBatchUploadReport { /* private fields */ }Expand description
Allocation and upload outcome of a transactional glyph-batch update.
Implementations§
Source§impl GlyphBatchUploadReport
impl GlyphBatchUploadReport
Sourcepub const fn instances(self) -> ImageBatchUploadReport
pub const fn instances(self) -> ImageBatchUploadReport
Returns exact instance-upload bytes and GPU allocation/growth counters.
Sourcepub const fn placement_count(self) -> usize
pub const fn placement_count(self) -> usize
Returns accepted source placement count, including empty runs.
Sourcepub const fn draw_count(self) -> usize
pub const fn draw_count(self) -> usize
Returns the conservative ordered scissor draw count.
Sourcepub const fn retained_bytes(self) -> usize
pub const fn retained_bytes(self) -> usize
Returns final retained CPU capacity bytes.
Sourcepub const fn peak_retained_bytes(self) -> usize
pub const fn peak_retained_bytes(self) -> usize
Returns conservative old/new overlapping CPU storage during the update.
Trait Implementations§
Source§impl Clone for GlyphBatchUploadReport
impl Clone for GlyphBatchUploadReport
impl Copy for GlyphBatchUploadReport
Source§impl Debug for GlyphBatchUploadReport
impl Debug for GlyphBatchUploadReport
impl Eq for GlyphBatchUploadReport
Source§impl PartialEq for GlyphBatchUploadReport
impl PartialEq for GlyphBatchUploadReport
impl StructuralPartialEq for GlyphBatchUploadReport
Auto Trait Implementations§
impl Freeze for GlyphBatchUploadReport
impl RefUnwindSafe for GlyphBatchUploadReport
impl Send for GlyphBatchUploadReport
impl Sync for GlyphBatchUploadReport
impl Unpin for GlyphBatchUploadReport
impl UnsafeUnpin for GlyphBatchUploadReport
impl UnwindSafe for GlyphBatchUploadReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.