Enum deflate::MatchingType [−][src]
pub enum MatchingType { Greedy, Lazy, }
Expand description
An enum describing whether we use lazy or greedy matching.
Variants
Use greedy matching: the matching algorithm simply uses a match right away if found.
Use lazy matching: after finding a match, the next input byte is checked, to see if there is a better match starting at that byte.
As a special case, if max_hash_checks is set to 0, compression using only run-length (i.e maximum match distance of 1) is performed instead.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for MatchingType
impl Send for MatchingType
impl Sync for MatchingType
impl Unpin for MatchingType
impl UnwindSafe for MatchingType
Blanket Implementations
Mutably borrows from an owned value. Read more