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.
PointerBackward 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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for Code[src]
fn clone(&self) -> Code[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for Code[src]
fn eq(&self, __arg_0: &Code) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Code) -> bool[src]
This method tests for !=.