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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ImtRasterOpts) -> bool
fn ne(&self, other: &ImtRasterOpts) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more