Struct lodepng::Chunk [] [src]

pub struct Chunk {
    // some fields omitted
}

Methods

impl Chunk
[src]

fn len(&self) -> usize

fn name(&self) -> [u8; 4]

fn is_type<C: AsRef<[u8]>>(&self, name: C) -> bool

fn is_ancillary(&self) -> c_uchar

fn is_private(&self) -> bool

fn is_safe_to_copy(&self) -> bool

fn data(&self) -> &[u8]

fn data_mut(&mut self) -> &mut [u8]

fn check_crc(&self) -> bool

fn generate_crc(&mut self)