#[non_exhaustive]pub struct CpuInfo {
pub found: u32,
pub drawn: u32,
pub fills: u32,
pub lines: u64,
pub flattened: u32,
pub overlay: u32,
}Expand description
what the last draw_cpu did (Scene::draw_cpu, cpu_info). It may grow
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.found: u32entities on layers the index found near the view (an insert once), and what was drawn: entities on layers, each copy of a block’s entity in an insert once
drawn: u32§fills: u32fills lib/gfx made (an entity one, a bar of small text one, a hatch’s coverages more) and the lines it rasterized
lines: u64§flattened: u32curves and fills flattened on the way (the scene’s flattening was made for another zoom band or window; a block’s curves and fills each time)
overlay: u32overlay items drawn
Trait Implementations§
impl Copy for CpuInfo
impl Eq for CpuInfo
impl StructuralPartialEq for CpuInfo
Auto Trait Implementations§
impl Forget for CpuInfo
impl Freeze for CpuInfo
impl Move for CpuInfo
impl RefUnwindSafe for CpuInfo
impl Send for CpuInfo
impl Sync for CpuInfo
impl Unpin for CpuInfo
impl UnsafeUnpin for CpuInfo
impl UnwindSafe for CpuInfo
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