pub struct RasterizeOptions {
pub dpi: u32,
}Expand description
Options for SVG rasterization.
Fields§
§dpi: u32Output DPI. Default 96 (1:1 with SVG units). Higher = larger output.
Trait Implementations§
Source§impl Clone for RasterizeOptions
impl Clone for RasterizeOptions
Source§fn clone(&self) -> RasterizeOptions
fn clone(&self) -> RasterizeOptions
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 moreSource§impl Debug for RasterizeOptions
impl Debug for RasterizeOptions
Auto Trait Implementations§
impl Freeze for RasterizeOptions
impl RefUnwindSafe for RasterizeOptions
impl Send for RasterizeOptions
impl Sync for RasterizeOptions
impl Unpin for RasterizeOptions
impl UnsafeUnpin for RasterizeOptions
impl UnwindSafe for RasterizeOptions
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