Struct libflate::zlib::Header
[−]
[src]
pub struct Header { /* fields omitted */ }ZLIB header.
Methods
impl Header[src]
fn window_size(&self) -> Lz77WindowSize
Returns the LZ77 window size stored in the header.
fn compression_level(&self) -> CompressionLevel
Returns the compression level stored in the header.
Trait Implementations
impl Debug for Header[src]
impl Clone for Header[src]
fn clone(&self) -> Header
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 Header[src]
fn eq(&self, __arg_0: &Header) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Header) -> bool
This method tests for !=.
impl Eq for Header[src]
impl Hash for Header[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.