Struct webrender_api::display_list::ItemStats
source · pub struct ItemStats {
pub total_count: usize,
pub num_bytes: usize,
}
Expand description
Stats for an individual item
Fields§
§total_count: usize
How many instances of this kind of item we deserialized
num_bytes: usize
How many bytes we processed for this kind of item
Trait Implementations§
impl Copy for ItemStats
Auto Trait Implementations§
impl Freeze for ItemStats
impl RefUnwindSafe for ItemStats
impl Send for ItemStats
impl Sync for ItemStats
impl Unpin for ItemStats
impl UnwindSafe for ItemStats
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)