Struct libflate::gzip::ExtraField
[−]
[src]
pub struct ExtraField {
pub id: [u8; 2],
pub data: Vec<u8>,
}Extra field of a GZIP header.
Fields
id: [u8; 2]
ID of the extra field.
data: Vec<u8>
Data of the extra field.
Trait Implementations
impl Debug for ExtraField[src]
impl Clone for ExtraField[src]
fn clone(&self) -> ExtraField
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 ExtraField[src]
fn eq(&self, __arg_0: &ExtraField) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ExtraField) -> bool
This method tests for !=.
impl Eq for ExtraField[src]
impl Hash for ExtraField[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.