pub struct RasterOptions {
pub tolerance: f32,
pub row_height: f32,
pub merge_tol: f32,
pub aa_samples: u32,
pub analytic: bool,
}Fields§
§tolerance: f32§row_height: f32§merge_tol: f32§aa_samples: u32§analytic: boolImplementations§
Source§impl RasterOptions
impl RasterOptions
pub const SMOOTH: Self
pub const CRISP: Self
pub const BANDED: Self
pub fn tolerance(self, tolerance: f32) -> Self
pub fn row_height(self, row_height: f32) -> Self
pub fn merge_tol(self, merge_tol: f32) -> Self
pub fn aa_samples(self, samples: u32) -> Self
pub fn analytic(self, analytic: bool) -> Self
pub fn for_scale(self, scale: f32) -> Self
Trait Implementations§
Source§impl Clone for RasterOptions
impl Clone for RasterOptions
impl Copy for RasterOptions
Source§impl Debug for RasterOptions
impl Debug for RasterOptions
Source§impl Default for RasterOptions
impl Default for RasterOptions
Source§impl PartialEq for RasterOptions
impl PartialEq for RasterOptions
impl StructuralPartialEq for RasterOptions
Auto Trait Implementations§
impl Freeze for RasterOptions
impl RefUnwindSafe for RasterOptions
impl Send for RasterOptions
impl Sync for RasterOptions
impl Unpin for RasterOptions
impl UnsafeUnpin for RasterOptions
impl UnwindSafe for RasterOptions
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