Struct image::png::hash::Adler32
[−]
[src]
pub struct Adler32 { // some fields omitted }
An Implementation of the Adler-32 checksum
Methods
impl Adler32
[src]
fn new() -> Adler32
Create a new hasher.
fn update(&mut self, buf: &[u8])
Update the internal hasher with the bytes from buf
fn checksum(&self) -> u32
Return the computed hash.
fn reset(&mut self)
Reset this hasher to its initial state.
Trait Implementations
impl Copy for Adler32
[src]
impl Clone for Adler32
[src]
fn clone(&self) -> Adler32
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