Enum pdf::enc::StreamFilter
source · pub enum StreamFilter {
ASCIIHexDecode,
ASCII85Decode,
LZWDecode(LZWFlateParams),
FlateDecode(LZWFlateParams),
JPXDecode,
DCTDecode(DCTDecodeParams),
CCITTFaxDecode(CCITTFaxDecodeParams),
JBIG2Decode,
Crypt,
RunLengthDecode,
}
Variants§
ASCIIHexDecode
ASCII85Decode
LZWDecode(LZWFlateParams)
FlateDecode(LZWFlateParams)
JPXDecode
DCTDecode(DCTDecodeParams)
CCITTFaxDecode(CCITTFaxDecodeParams)
JBIG2Decode
Crypt
RunLengthDecode
Implementations§
source§impl StreamFilter
impl StreamFilter
pub fn from_kind_and_params(
kind: &str,
params: Dictionary,
r: &impl Resolve
) -> Result<StreamFilter>
Trait Implementations§
source§impl Clone for StreamFilter
impl Clone for StreamFilter
source§fn clone(&self) -> StreamFilter
fn clone(&self) -> StreamFilter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl DataSize for StreamFilterwhere
LZWFlateParams: DataSize,
DCTDecodeParams: DataSize,
CCITTFaxDecodeParams: DataSize,
impl DataSize for StreamFilterwhere
LZWFlateParams: DataSize,
DCTDecodeParams: DataSize,
CCITTFaxDecodeParams: DataSize,
source§const IS_DYNAMIC: bool = true
const IS_DYNAMIC: bool = true
If
true
, the type has a heap size that can vary at runtime, depending on the actual value.source§const STATIC_HEAP_SIZE: usize = 0usize
const STATIC_HEAP_SIZE: usize = 0usize
The amount of space a value of the type always occupies. If
IS_DYNAMIC
is false, this is
the total amount of heap memory occupied by the value. Otherwise this is a lower bound.source§fn estimate_heap_size(&self) -> usize
fn estimate_heap_size(&self) -> usize
Estimates the size of heap memory taken up by this value. Read more