pub struct DocumentSpecification { /* private fields */ }
Expand description
The specification for the PDF document
Implementations§
Source§impl DocumentSpecification
impl DocumentSpecification
Sourcepub fn add_element(self, element: Element) -> Self
pub fn add_element(self, element: Element) -> Self
Add an element to the document
Sourcepub fn set_elements(self, elements: Vec<Element>) -> Self
pub fn set_elements(self, elements: Vec<Element>) -> Self
Set all elements for the document
Sourcepub fn set_document_settings(self, document_settings: DocumentSettings) -> Self
pub fn set_document_settings(self, document_settings: DocumentSettings) -> Self
Set the document settings
Trait Implementations§
Source§impl Clone for DocumentSpecification
impl Clone for DocumentSpecification
Source§fn clone(&self) -> DocumentSpecification
fn clone(&self) -> DocumentSpecification
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 Debug for DocumentSpecification
impl Debug for DocumentSpecification
Source§impl Default for DocumentSpecification
impl Default for DocumentSpecification
Source§fn default() -> DocumentSpecification
fn default() -> DocumentSpecification
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DocumentSpecification
impl RefUnwindSafe for DocumentSpecification
impl Send for DocumentSpecification
impl Sync for DocumentSpecification
impl Unpin for DocumentSpecification
impl UnwindSafe for DocumentSpecification
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