pub struct RasterOptions {
pub dpi: f64,
pub format: RasterFormat,
}Expand description
Options for raster image export.
Fields§
§dpi: f64Dots per inch. Must be finite and positive.
format: RasterFormatRequested image container and format-specific options.
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 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.