pub struct PdfConversionOptions {
pub title: Option<String>,
pub source_filename: Option<String>,
}Expand description
Options for converting a PDF into a minimal MCD package.
Fields§
§title: Option<String>Optional document title for the MCD manifest and Markdown heading.
source_filename: Option<String>Optional original file name used for the embedded PDF asset path.
Trait Implementations§
Source§impl Clone for PdfConversionOptions
impl Clone for PdfConversionOptions
Source§fn clone(&self) -> PdfConversionOptions
fn clone(&self) -> PdfConversionOptions
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 PdfConversionOptions
impl Debug for PdfConversionOptions
Source§impl Default for PdfConversionOptions
impl Default for PdfConversionOptions
Source§fn default() -> PdfConversionOptions
fn default() -> PdfConversionOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for PdfConversionOptions
impl PartialEq for PdfConversionOptions
Source§fn eq(&self, other: &PdfConversionOptions) -> bool
fn eq(&self, other: &PdfConversionOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PdfConversionOptions
impl StructuralPartialEq for PdfConversionOptions
Auto Trait Implementations§
impl Freeze for PdfConversionOptions
impl RefUnwindSafe for PdfConversionOptions
impl Send for PdfConversionOptions
impl Sync for PdfConversionOptions
impl Unpin for PdfConversionOptions
impl UnsafeUnpin for PdfConversionOptions
impl UnwindSafe for PdfConversionOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.