Skip to content

Commit 1115bfb

Browse files
committed
Move two types from global scope to modules
1 parent 1ca5c37 commit 1115bfb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/lib.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ pub mod writers {
134134
pub use functions::{
135135
ExponentialFunction, PostScriptFunction, SampledFunction, StitchingFunction,
136136
};
137+
pub use object::DecodeParms;
137138
pub use object::{NameTree, NameTreeEntries, NumberTree, NumberTreeEntries};
138139
pub use renditions::{MediaClip, MediaPermissions, MediaPlayParams, Rendition};
139140
pub use structure::{
@@ -171,6 +172,7 @@ pub mod types {
171172
CheckBoxState, ChoiceOptions, FieldFlags, FieldType, Quadding, SigFlags,
172173
};
173174
pub use functions::{InterpolationOrder, PostScriptOp};
175+
pub use object::Predictor;
174176
pub use renditions::{MediaClipType, RenditionType, TempFileType};
175177
pub use structure::{
176178
Direction, NumberingStyle, OutlineItemFlags, PageLayout, PageMode, StructRole,
@@ -183,8 +185,8 @@ pub mod types {
183185
pub use self::chunk::Chunk;
184186
pub use self::content::Content;
185187
pub use self::object::{
186-
Array, Date, DecodeParms, Dict, Filter, Finish, Name, Null, Obj, Predictor,
187-
Primitive, Rect, Ref, Rewrite, Str, Stream, TextStr, TypedArray, TypedDict, Writer,
188+
Array, Date, Dict, Filter, Finish, Name, Null, Obj, Primitive, Rect, Ref, Rewrite,
189+
Str, Stream, TextStr, TypedArray, TypedDict, Writer,
188190
};
189191

190192
use std::fmt::{self, Debug, Formatter};

0 commit comments

Comments
 (0)