pub struct ImageBatchUploadReport { /* private fields */ }Expand description
CPU outcome of replacing a retained image/sprite instance batch.
This report is intentionally distinct from ImageUploadReport: batch
replacement uploads instance-buffer records and does not replace or upload
the referenced image texture.
Implementations§
Source§impl ImageBatchUploadReport
impl ImageBatchUploadReport
Sourcepub const fn uploaded_instance_bytes(self) -> usize
pub const fn uploaded_instance_bytes(self) -> usize
Returns instance-buffer bytes submitted to the queue.
Sourcepub const fn replaced_instance_buffer(self) -> bool
pub const fn replaced_instance_buffer(self) -> bool
Returns whether the operation replaced the underlying instance buffer.
Trait Implementations§
Source§impl Clone for ImageBatchUploadReport
impl Clone for ImageBatchUploadReport
Source§fn clone(&self) -> ImageBatchUploadReport
fn clone(&self) -> ImageBatchUploadReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImageBatchUploadReport
Source§impl Debug for ImageBatchUploadReport
impl Debug for ImageBatchUploadReport
impl Eq for ImageBatchUploadReport
Source§impl PartialEq for ImageBatchUploadReport
impl PartialEq for ImageBatchUploadReport
impl StructuralPartialEq for ImageBatchUploadReport
Auto Trait Implementations§
impl Freeze for ImageBatchUploadReport
impl RefUnwindSafe for ImageBatchUploadReport
impl Send for ImageBatchUploadReport
impl Sync for ImageBatchUploadReport
impl Unpin for ImageBatchUploadReport
impl UnsafeUnpin for ImageBatchUploadReport
impl UnwindSafe for ImageBatchUploadReport
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.