Enum libflate::lz77::Code
[−]
[src]
pub enum Code { Literal(u8), Pointer { length: u16, backward_distance: u16, }, }
A LZ77 encoded data.
Variants
Literal(u8)
Literal byte.
Pointer
Backward pointer to shared data.
Fields of Pointer
length: u16 | Length of the shared data.
The values must be limited to |
backward_distance: u16 | Distance between current position and start position of the shared data.
The values must be limited to |
Trait Implementations
impl Debug for Code
[src]
impl Clone for Code
[src]
fn clone(&self) -> Code
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Code
[src]
fn eq(&self, __arg_0: &Code) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Code) -> bool
This method tests for !=
.