pdf_writer

Trait 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.

Required Associated Types§

source

type Output: Writer<'a>

The writer with the rewritten lifetime.

Implementors§

source§

impl<'a, 'any> Rewrite<'a> for Array<'any>

source§

impl<'a, 'any> Rewrite<'a> for Dict<'any>

source§

type Output = Dict<'a>

source§

impl<'a, 'any> Rewrite<'a> for ChoiceOptions<'any>

source§

impl<'a, 'any> Rewrite<'a> for Action<'any>

source§

impl<'a, 'any> Rewrite<'a> for AdditionalActions<'any>

source§

impl<'a, 'any> Rewrite<'a> for Annotation<'any>

source§

impl<'a, 'any> Rewrite<'a> for Appearance<'any>

source§

impl<'a, 'any> Rewrite<'a> for AppearanceCharacteristics<'any>

source§

impl<'a, 'any> Rewrite<'a> for AppearanceEntry<'any>

source§

impl<'a, 'any> Rewrite<'a> for Artifact<'any>

source§

impl<'a, 'any> Rewrite<'a> for Attributes<'any>

source§

impl<'a, 'any> Rewrite<'a> for BorderStyle<'any>

source§

impl<'a, 'any> Rewrite<'a> for Catalog<'any>

source§

impl<'a, 'any> Rewrite<'a> for CidFont<'any>

source§

impl<'a, 'any> Rewrite<'a> for ClassMap<'any>

source§

impl<'a, 'any> Rewrite<'a> for ColorSpace<'any>

source§

impl<'a, 'any> Rewrite<'a> for DecodeParms<'any>

source§

impl<'a, 'any> Rewrite<'a> for Destination<'any>

source§

impl<'a, 'any> Rewrite<'a> for DeveloperExtension<'any>

source§

impl<'a, 'any> Rewrite<'a> for DeviceNAttrs<'any>

source§

impl<'a, 'any> Rewrite<'a> for DeviceNMixingHints<'any>

source§

impl<'a, 'any> Rewrite<'a> for DeviceNProcess<'any>

source§

impl<'a, 'any> Rewrite<'a> for Differences<'any>

source§

impl<'a, 'any> Rewrite<'a> for DocumentInfo<'any>

source§

impl<'a, 'any> Rewrite<'a> for EmbeddingParams<'any>

source§

impl<'a, 'any> Rewrite<'a> for Encoding<'any>

source§

impl<'a, 'any> Rewrite<'a> for ExponentialFunction<'any>

source§

impl<'a, 'any> Rewrite<'a> for ExtGraphicsState<'any>

source§

impl<'a, 'any> Rewrite<'a> for Field<'any>

source§

impl<'a, 'any> Rewrite<'a> for FieldAttributes<'any>

source§

impl<'a, 'any> Rewrite<'a> for Fields<'any>

source§

impl<'a, 'any> Rewrite<'a> for FileSpec<'any>

source§

impl<'a, 'any> Rewrite<'a> for FontDescriptor<'any>

source§

impl<'a, 'any> Rewrite<'a> for FontDescriptorOverride<'any>

source§

impl<'a, 'any> Rewrite<'a> for Form<'any>

source§

type Output = Form<'a>

source§

impl<'a, 'any> Rewrite<'a> for FunctionShading<'any>

source§

impl<'a, 'any> Rewrite<'a> for Group<'any>

source§

impl<'a, 'any> Rewrite<'a> for IconFit<'any>

source§

impl<'a, 'any> Rewrite<'a> for LayoutAttributes<'any>

source§

impl<'a, 'any> Rewrite<'a> for ListAttributes<'any>

source§

impl<'a, 'any> Rewrite<'a> for MarkInfo<'any>

source§

impl<'a, 'any> Rewrite<'a> for MarkedRef<'any>

source§

impl<'a, 'any> Rewrite<'a> for MediaClip<'any>

source§

impl<'a, 'any> Rewrite<'a> for MediaPermissions<'any>

source§

impl<'a, 'any> Rewrite<'a> for MediaPlayParams<'any>

source§

impl<'a, 'any> Rewrite<'a> for Names<'any>

source§

impl<'a, 'any> Rewrite<'a> for ObjectRef<'any>

source§

impl<'a, 'any> Rewrite<'a> for Outline<'any>

source§

impl<'a, 'any> Rewrite<'a> for OutlineItem<'any>

source§

impl<'a, 'any> Rewrite<'a> for OutputIntent<'any>

source§

impl<'a, 'any> Rewrite<'a> for Page<'any>

source§

type Output = Page<'a>

source§

impl<'a, 'any> Rewrite<'a> for PageLabel<'any>

source§

impl<'a, 'any> Rewrite<'a> for Pages<'any>

source§

impl<'a, 'any> Rewrite<'a> for PropertyList<'any>

source§

impl<'a, 'any> Rewrite<'a> for Reference<'any>

source§

impl<'a, 'any> Rewrite<'a> for Rendition<'any>

source§

impl<'a, 'any> Rewrite<'a> for Resources<'any>

source§

impl<'a, 'any> Rewrite<'a> for RoleMap<'any>

source§

impl<'a, 'any> Rewrite<'a> for SeparationInfo<'any>

source§

impl<'a, 'any> Rewrite<'a> for ShadingPattern<'any>

source§

impl<'a, 'any> Rewrite<'a> for SoftMask<'any>

source§

impl<'a, 'any> Rewrite<'a> for StitchingFunction<'any>

source§

impl<'a, 'any> Rewrite<'a> for StructChildren<'any>

source§

impl<'a, 'any> Rewrite<'a> for StructElement<'any>

source§

impl<'a, 'any> Rewrite<'a> for StructTreeRoot<'any>

source§

impl<'a, 'any> Rewrite<'a> for TableAttributes<'any>

source§

impl<'a, 'any> Rewrite<'a> for Transition<'any>

source§

impl<'a, 'any> Rewrite<'a> for Type0Font<'any>

source§

impl<'a, 'any> Rewrite<'a> for Type1Font<'any>

source§

impl<'a, 'any> Rewrite<'a> for Type3Font<'any>

source§

impl<'a, 'any> Rewrite<'a> for UserProperty<'any>

source§

impl<'a, 'any> Rewrite<'a> for ViewerPreferences<'any>

source§

impl<'a, 'any> Rewrite<'a> for Widths<'any>

source§

impl<'a, 'any, T> Rewrite<'a> for TypedArray<'any, T>

source§

impl<'a, 'any, T> Rewrite<'a> for TypedDict<'any, T>

source§

impl<'a, 'any, T> Rewrite<'a> for NameTree<'any, T>

source§

type Output = NameTree<'a, T>

source§

impl<'a, 'any, T> Rewrite<'a> for NameTreeEntries<'any, T>

source§

impl<'a, 'any, T> Rewrite<'a> for NumberTree<'any, T>

source§

impl<'a, 'any, T> Rewrite<'a> for NumberTreeEntries<'any, T>