Trait pdf_writer::Rewrite
source · pub trait Rewrite<'a> {
type Output: Writer<'a>;
}Expand description
Rewrites a writer’s lifetime.
This is a workaround to ignore the 'b lifetime in a
TypedArray<'a, SomeWriter<'b>> because that lifetime is meaningless. What
we actually want is each item’s SomeWriter to borrow from the array itself.