Trait pdf_writer::Guard[][src]

pub trait Guard {
    fn finish(&self, writer: &mut PdfWriter);
}
Expand description

Finishes an entity when released.

This is an implementation detail that you shouldn’t need to worry about.

Required methods

fn finish(&self, writer: &mut PdfWriter)[src]

Finish the entity.

Implementations on Foreign Types

impl Guard for ()[src]

fn finish(&self, _: &mut PdfWriter)[src]

Implementors

impl Guard for IndirectGuard[src]

fn finish(&self, w: &mut PdfWriter)[src]

impl Guard for StreamGuard<'_>[src]

fn finish(&self, w: &mut PdfWriter)[src]