[−][src]Struct pdf_create::high::Handle
Entrypoint to the high-level API
Create a new handle to start creating a PDF document
Fields
info: Info
The info/metadata
pages: Vec<Page<'a>>
The pages
page_labels: NumberTree<PageLabel>
The settings for page numbering for a PDF viewer
outline: Outline
The outline for a PDF viewer
res: Res<'a>
The global resource struct
Implementations
impl<'a> Handle<'a>
[src]
pub fn new() -> Self
[src]
Creates a new handle
pub fn write<W: Write>(&self, w: &mut W) -> Result<()>
[src]
Write the whole PDF to the given writer
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Handle<'a>
impl<'a> Send for Handle<'a>
impl<'a> Sync for Handle<'a>
impl<'a> Unpin for Handle<'a>
impl<'a> UnwindSafe for Handle<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,