pub struct Context<'a> { /* private fields */ }Expand description
A context for interpreting PDF files.
Implementations§
Source§impl<'a> Context<'a>
impl<'a> Context<'a>
Sourcepub fn new(
initial_transform: Affine,
bbox: Rect,
xref: &'a XRef,
settings: InterpreterSettings,
) -> Self
pub fn new( initial_transform: Affine, bbox: Rect, xref: &'a XRef, settings: InterpreterSettings, ) -> Self
Create a new context.
Sourcepub fn into_settings(self) -> InterpreterSettings
pub fn into_settings(self) -> InterpreterSettings
Return the interpreter settings owned by this context.
Auto Trait Implementations§
impl<'a> Freeze for Context<'a>
impl<'a> !RefUnwindSafe for Context<'a>
impl<'a> !Send for Context<'a>
impl<'a> !Sync for Context<'a>
impl<'a> Unpin for Context<'a>
impl<'a> UnsafeUnpin for Context<'a>
impl<'a> !UnwindSafe for Context<'a>
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