Struct epaint::stats::PaintStats[][src]

pub struct PaintStats {
    pub shapes: AllocInfo,
    pub shape_text: AllocInfo,
    pub shape_path: AllocInfo,
    pub shape_mesh: AllocInfo,
    pub shape_vec: AllocInfo,
    pub clipped_meshes: AllocInfo,
    pub vertices: AllocInfo,
    pub indices: AllocInfo,
}

Collected allocation statistics for shapes and meshes.

Fields

shapes: AllocInfoshape_text: AllocInfoshape_path: AllocInfoshape_mesh: AllocInfoshape_vec: AllocInfoclipped_meshes: AllocInfo

Number of separate clip rectangles

vertices: AllocInfoindices: AllocInfo

Implementations

impl PaintStats[src]

pub fn from_shapes(shapes: &[ClippedShape]) -> Self[src]

pub fn with_clipped_meshes(self, clipped_meshes: &[ClippedMesh]) -> Self[src]

Trait Implementations

impl Clone for PaintStats[src]

impl Copy for PaintStats[src]

impl Default for PaintStats[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.