pub struct IdentityEncoder;Expand description
The Pass 3.0 encoder: returns every payload unchanged.
This is not a placeholder to be deleted — it stays as the encoder for unencrypted documents (the overwhelming majority) and as the mandatory encoder for cross-reference streams even in encrypted ones (module docs, item 2).
Deliberately not #[non_exhaustive]: a unit struct marked so
cannot be constructed outside its defining crate at all, and this one
exists precisely to be constructed by pdfcer, pdfcer-render
and the round-trip harness.
Trait Implementations§
Source§impl Clone for IdentityEncoder
impl Clone for IdentityEncoder
impl Copy for IdentityEncoder
Source§impl Debug for IdentityEncoder
impl Debug for IdentityEncoder
Source§impl Default for IdentityEncoder
impl Default for IdentityEncoder
impl Eq for IdentityEncoder
Source§impl Hash for IdentityEncoder
impl Hash for IdentityEncoder
Source§impl ObjectEncoder for IdentityEncoder
impl ObjectEncoder for IdentityEncoder
Source§impl PartialEq for IdentityEncoder
impl PartialEq for IdentityEncoder
impl StructuralPartialEq for IdentityEncoder
Auto Trait Implementations§
impl Forget for IdentityEncoder
impl Freeze for IdentityEncoder
impl Move for IdentityEncoder
impl RefUnwindSafe for IdentityEncoder
impl Send for IdentityEncoder
impl Sync for IdentityEncoder
impl Unpin for IdentityEncoder
impl UnsafeUnpin for IdentityEncoder
impl UnwindSafe for IdentityEncoder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more