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: RasterOptions
pub const CRISP: RasterOptions
pub const BANDED: RasterOptions
pub fn tolerance(self, tolerance: f32) -> RasterOptions
pub fn row_height(self, row_height: f32) -> RasterOptions
pub fn merge_tol(self, merge_tol: f32) -> RasterOptions
pub fn aa_samples(self, samples: u32) -> RasterOptions
pub fn analytic(self, analytic: bool) -> RasterOptions
pub fn for_scale(self, scale: f32) -> RasterOptions
Trait Implementations§
Source§impl Clone for RasterOptions
impl Clone for RasterOptions
Source§fn clone(&self) -> RasterOptions
fn clone(&self) -> RasterOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RasterOptions
Source§impl Debug for RasterOptions
impl Debug for RasterOptions
Source§impl Default for RasterOptions
impl Default for RasterOptions
Source§fn default() -> RasterOptions
fn default() -> RasterOptions
Returns the “default value” for a type. Read more
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