pub struct ViewCost {
pub name: &'static str,
pub count: u32,
pub time: Duration,
pub elements: u32,
pub shapes: u32,
}Expand description
What a type of view cost in the latest build, not counting the views inside it.
Fields§
§name: &'static strThe view’s type, as the compiler names it.
count: u32How many of them ran.
time: DurationTime they took.
elements: u32Elements they made.
shapes: u32Text they shaped.
Implementations§
Trait Implementations§
impl StructuralPartialEq for ViewCost
Auto Trait Implementations§
impl Freeze for ViewCost
impl RefUnwindSafe for ViewCost
impl Send for ViewCost
impl Sync for ViewCost
impl Unpin for ViewCost
impl UnsafeUnpin for ViewCost
impl UnwindSafe for ViewCost
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