pub enum ImageHandling {
SaveToDir(PathBuf),
Inline,
Skip,
}Expand description
Specifies how images should be handled during conversion.
Variants§
SaveToDir(PathBuf)
Save images to a directory and reference them by path.
Inline
Embed images as base64 data URIs.
Skip
Skip images entirely.
Trait Implementations§
Source§impl Clone for ImageHandling
impl Clone for ImageHandling
Source§fn clone(&self) -> ImageHandling
fn clone(&self) -> ImageHandling
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ImageHandling
impl RefUnwindSafe for ImageHandling
impl Send for ImageHandling
impl Sync for ImageHandling
impl Unpin for ImageHandling
impl UnwindSafe for ImageHandling
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