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§
source§impl ImtRasterOpts
impl ImtRasterOpts
Trait Implementations§
source§impl Clone for ImtRasterOpts
impl Clone for ImtRasterOpts
source§fn clone(&self) -> ImtRasterOpts
fn clone(&self) -> ImtRasterOpts
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImtRasterOpts
impl Debug for ImtRasterOpts
source§impl Default for ImtRasterOpts
impl Default for ImtRasterOpts
source§impl PartialEq for ImtRasterOpts
impl PartialEq for ImtRasterOpts
source§fn eq(&self, other: &ImtRasterOpts) -> bool
fn eq(&self, other: &ImtRasterOpts) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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