@@ -127,7 +127,7 @@ impl Catalog<'_> {
127127 ///
128128 /// The dictionary maps a vendor name to an extension dictionary. The Adobe
129129 /// PDF extensions use the Name prefix `ADBE`.
130- pub fn extensions ( & mut self ) -> TypedDict < ' _ , DeveloperExtension > {
130+ pub fn extensions ( & mut self ) -> TypedDict < ' _ , DeveloperExtension < ' _ > > {
131131 self . insert ( Name ( b"Extensions" ) ) . dict ( ) . typed ( )
132132 }
133133
@@ -145,13 +145,13 @@ impl Catalog<'_> {
145145 /// dictionary.](writers::OutputIntent)
146146 ///
147147 /// Must be present in PDF/X documents, encouraged in PDF/A documents.
148- pub fn output_intents ( & mut self ) -> TypedArray < ' _ , OutputIntent > {
148+ pub fn output_intents ( & mut self ) -> TypedArray < ' _ , OutputIntent < ' _ > > {
149149 self . insert ( Name ( b"OutputIntents" ) ) . array ( ) . typed ( )
150150 }
151151
152152 /// Start writing the `/AF` array to specify the associated files of the
153153 /// document. PDF 2.0+ or PDF/A-3.
154- pub fn associated_files ( & mut self ) -> TypedArray < ' _ , FileSpec > {
154+ pub fn associated_files ( & mut self ) -> TypedArray < ' _ , FileSpec < ' _ > > {
155155 self . insert ( Name ( b"AF" ) ) . array ( ) . typed ( )
156156 }
157157}
@@ -408,7 +408,7 @@ impl StructTreeRoot<'_> {
408408
409409 /// Start writing the `/AF` attribute to specify one or multiple files
410410 /// associated with the entire structure tree. PDF 2.0+.
411- pub fn associated_files ( & mut self ) -> TypedArray < ' _ , FileSpec > {
411+ pub fn associated_files ( & mut self ) -> TypedArray < ' _ , FileSpec < ' _ > > {
412412 self . dict . insert ( Name ( b"AF" ) ) . array ( ) . typed ( )
413413 }
414414}
@@ -521,13 +521,13 @@ impl StructElement<'_> {
521521
522522 /// Start writing the `/A` attribute to specify the attributes of this
523523 /// structure element.
524- pub fn attributes ( & mut self ) -> TypedArray < ' _ , Attributes > {
524+ pub fn attributes ( & mut self ) -> TypedArray < ' _ , Attributes < ' _ > > {
525525 self . dict . insert ( Name ( b"A" ) ) . array ( ) . typed ( )
526526 }
527527
528528 /// Start writing the `/C` attribute to associate the structure element with
529529 /// an attribute class.
530- pub fn attribute_class ( & mut self ) -> TypedArray < ' _ , Name > {
530+ pub fn attribute_class ( & mut self ) -> TypedArray < ' _ , Name < ' _ > > {
531531 self . dict . insert ( Name ( b"C" ) ) . array ( ) . typed ( )
532532 }
533533
@@ -572,7 +572,7 @@ impl StructElement<'_> {
572572
573573 /// Start writing the `/AF` array to specify the associated files of the
574574 /// element. PDF 2.0+ or PDF/A-3.
575- pub fn associated_files ( & mut self ) -> TypedArray < ' _ , FileSpec > {
575+ pub fn associated_files ( & mut self ) -> TypedArray < ' _ , FileSpec < ' _ > > {
576576 self . insert ( Name ( b"AF" ) ) . array ( ) . typed ( )
577577 }
578578
@@ -751,7 +751,7 @@ impl ClassMap<'_> {
751751 }
752752
753753 /// Start writing an array of attribute dictionaries for a class name.
754- pub fn multiple ( & mut self , name : Name ) -> TypedArray < ' _ , Attributes > {
754+ pub fn multiple ( & mut self , name : Name ) -> TypedArray < ' _ , Attributes < ' _ > > {
755755 self . dict . insert ( name) . array ( ) . typed ( )
756756 }
757757}
@@ -2001,7 +2001,7 @@ impl Page<'_> {
20012001
20022002 /// Start writing the `/AF` array to specify the associated files of the
20032003 /// page. PDF 2.0+ or PDF/A-3.
2004- pub fn associated_files ( & mut self ) -> TypedArray < ' _ , FileSpec > {
2004+ pub fn associated_files ( & mut self ) -> TypedArray < ' _ , FileSpec < ' _ > > {
20052005 self . insert ( Name ( b"AF" ) ) . array ( ) . typed ( )
20062006 }
20072007}
0 commit comments