Struct mupdf::pdf::document::PdfWriteOptions
source · pub struct PdfWriteOptions { /* private fields */ }
Implementations§
source§impl PdfWriteOptions
impl PdfWriteOptions
pub fn incremental(&self) -> bool
pub fn set_incremental(&mut self, value: bool) -> &mut Self
pub fn pretty(&self) -> bool
pub fn set_pretty(&mut self, value: bool) -> &mut Self
pub fn ascii(&self) -> bool
pub fn set_ascii(&mut self, value: bool) -> &mut Self
pub fn compress(&self) -> bool
pub fn set_compress(&mut self, value: bool) -> &mut Self
pub fn compress_images(&self) -> bool
pub fn set_compress_images(&mut self, value: bool) -> &mut Self
pub fn compress_fonts(&self) -> bool
pub fn set_compress_fonts(&mut self, value: bool) -> &mut Self
pub fn decompress(&self) -> bool
pub fn set_decompress(&mut self, value: bool) -> &mut Self
pub fn garbage(&self) -> bool
pub fn set_garbage(&mut self, value: bool) -> &mut Self
pub fn garbage_level(&self) -> i32
pub fn set_garbage_level(&mut self, value: i32) -> &mut Self
pub fn linear(self) -> bool
pub fn set_linear(&mut self, value: bool) -> &mut Self
pub fn clean(&self) -> bool
pub fn set_clean(&mut self, value: bool) -> &mut Self
pub fn sanitize(&self) -> bool
pub fn set_sanitize(&mut self, value: bool) -> &mut Self
pub fn appearance(&self) -> bool
pub fn set_appearance(&mut self, value: bool) -> &mut Self
pub fn encryption(&self) -> Encryption
pub fn set_encryption(&mut self, value: Encryption) -> &mut Self
pub fn permissions(&self) -> Permission
pub fn set_permissions(&mut self, value: Permission) -> &mut Self
pub fn owner_password(&self) -> &str
pub fn set_owner_password(&mut self, pwd: &str) -> &mut Self
pub fn user_password(&self) -> &str
pub fn set_user_password(&mut self, pwd: &str) -> &mut Self
Trait Implementations§
source§impl Clone for PdfWriteOptions
impl Clone for PdfWriteOptions
source§fn clone(&self) -> PdfWriteOptions
fn clone(&self) -> PdfWriteOptions
Returns a copy 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 moresource§impl Default for PdfWriteOptions
impl Default for PdfWriteOptions
impl Copy for PdfWriteOptions
Auto Trait Implementations§
impl Freeze for PdfWriteOptions
impl RefUnwindSafe for PdfWriteOptions
impl Send for PdfWriteOptions
impl Sync for PdfWriteOptions
impl Unpin for PdfWriteOptions
impl UnwindSafe for PdfWriteOptions
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