pub struct SaveFileDescriptor<P: AsRef<Path>> {
pub filename: P,
pub format: FileFormat,
pub dpi: u16,
}
Expand description
Describes how to save the image to a file.
Fields§
§filename: P
The name of the output file.
format: FileFormat
The image format of the file.
dpi: u16
The dots (pixels) per inch.
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for SaveFileDescriptor<P>where
P: Freeze,
impl<P> RefUnwindSafe for SaveFileDescriptor<P>where
P: RefUnwindSafe,
impl<P> Send for SaveFileDescriptor<P>where
P: Send,
impl<P> Sync for SaveFileDescriptor<P>where
P: Sync,
impl<P> Unpin for SaveFileDescriptor<P>where
P: Unpin,
impl<P> UnwindSafe for SaveFileDescriptor<P>where
P: UnwindSafe,
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