Struct ilmenite::raster::ImtRasterOpts
source · [−]pub struct ImtRasterOpts {
pub fill_quality: ImtFillQuality,
pub sample_quality: ImtSampleQuality,
pub align_whole_pixels: bool,
pub cpu_rasterization: bool,
pub raster_to_image: bool,
pub raster_image_format: Format,
}
Fields
fill_quality: ImtFillQuality
This effects how many rays are casted
sample_quality: ImtSampleQuality
This effects how many samples will be used per subpixel
align_whole_pixels: bool
Whether to align bitmaps to whole pixels. This will adjust bearings to whole pixels and offset the resulting bitmap.
cpu_rasterization: bool
This option will be ignored and set by _cpu or _gpu constructors
raster_to_image: bool
Whether or to output a image instead of raw data. Only effects gpu rasterization
raster_image_format: Format
Format used for the bitmap image.
Implementations
sourceimpl ImtRasterOpts
impl ImtRasterOpts
Trait Implementations
sourceimpl Clone for ImtRasterOpts
impl Clone for ImtRasterOpts
sourcefn clone(&self) -> ImtRasterOpts
fn clone(&self) -> ImtRasterOpts
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ImtRasterOpts
impl Debug for ImtRasterOpts
sourceimpl Default for ImtRasterOpts
impl Default for ImtRasterOpts
sourceimpl PartialEq<ImtRasterOpts> for ImtRasterOpts
impl PartialEq<ImtRasterOpts> for ImtRasterOpts
sourcefn eq(&self, other: &ImtRasterOpts) -> bool
fn eq(&self, other: &ImtRasterOpts) -> bool
impl StructuralPartialEq for ImtRasterOpts
Auto Trait Implementations
impl RefUnwindSafe for ImtRasterOpts
impl Send for ImtRasterOpts
impl Sync for ImtRasterOpts
impl Unpin for ImtRasterOpts
impl UnwindSafe for ImtRasterOpts
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more