Struct epaint::tessellator::TessellationOptions [−][src]
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]
fn clone(&self) -> TessellationOptions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TessellationOptions
[src]
impl Debug for TessellationOptions
[src]
impl Default for TessellationOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for TessellationOptions
impl Send for TessellationOptions
impl Sync for TessellationOptions
impl Unpin for TessellationOptions
impl UnwindSafe for TessellationOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,