Struct epaint::tessellator::TessellationOptions[][src]

pub struct TessellationOptions {
    pub aa_size: f32,
    pub anti_alias: bool,
    pub coarse_tessellation_culling: bool,
    pub debug_paint_clip_rects: bool,
    pub debug_paint_text_rects: bool,
    pub debug_ignore_clip_rects: bool,
}

Tessellation quality options

Fields

aa_size: f32

Size of a pixel in points, e.g. 0.5

anti_alias: bool

Anti-aliasing makes shapes appear smoother, but requires more triangles and is therefore slower. By default this is enabled in release builds and disabled in debug builds.

coarse_tessellation_culling: bool

If true (default) cull certain primitives before tessellating them

debug_paint_clip_rects: bool

Output the clip rectangles to be painted?

debug_paint_text_rects: bool

Output the text-containing rectangles

debug_ignore_clip_rects: bool

If true, no clipping will be done

Trait Implementations

impl Clone for TessellationOptions[src]

impl Copy for TessellationOptions[src]

impl Debug for TessellationOptions[src]

impl Default for TessellationOptions[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.