Struct pdfium_render::attachment::PdfAttachment
source · [−]pub struct PdfAttachment<'a> { /* private fields */ }Expand description
A single attached data file embedded in a PdfDocument.
Implementations
sourceimpl<'a> PdfAttachment<'a>
impl<'a> PdfAttachment<'a>
sourcepub fn bindings(&self) -> &'a dyn PdfiumLibraryBindings
pub fn bindings(&self) -> &'a dyn PdfiumLibraryBindings
Returns the PdfiumLibraryBindings used by this PdfAttachment.
sourcepub fn name(&self) -> String
pub fn name(&self) -> String
Returns the name of this PdfAttachment.
sourcepub fn bytes(&self) -> Vec<u8>
pub fn bytes(&self) -> Vec<u8>
Returns the byte data for this PdfAttachment.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for PdfAttachment<'a>
impl<'a> !Send for PdfAttachment<'a>
impl<'a> !Sync for PdfAttachment<'a>
impl<'a> Unpin for PdfAttachment<'a>
impl<'a> !UnwindSafe for PdfAttachment<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more