pub enum Filter {
FlateDecode,
ASCIIHexDecode,
ASCII85Decode,
LZWDecode,
RunLengthDecode,
DCTDecode,
CCITTFaxDecode,
JBIG2Decode,
BrotliDecode,
}Expand description
PDF stream filter types.
Variants§
FlateDecode
FlateDecode (deflate/zlib compression)
ASCIIHexDecode
ASCIIHexDecode (hexadecimal encoding)
ASCII85Decode
ASCII85Decode (base-85 encoding)
LZWDecode
LZWDecode (Lempel-Ziv-Welch compression)
RunLengthDecode
RunLengthDecode (run-length encoding)
DCTDecode
DCTDecode (JPEG compression)
CCITTFaxDecode
CCITTFaxDecode (CCITT Fax compression)
JBIG2Decode
JBIG2Decode (JBIG2 compression)
BrotliDecode
BrotliDecode (Brotli compression, PDF 2.0)
Trait Implementations§
impl Copy for Filter
impl Eq for Filter
impl StructuralPartialEq for Filter
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnsafeUnpin for Filter
impl UnwindSafe for Filter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more