[−][src]Trait ytesrev::image::ImageContainer
Something that can act as, or contains, an image.
Required methods
fn get_data(&self) -> &Vec<u8>
Retrieve the data in the image
fn get_data_mut(&mut self) -> &mut Vec<u8>
Retrieve the data in the image, mutably
fn into_data(self) -> Vec<u8>
Retrieve the data in the image, consuming the object
Provided methods
fn as_knownsize(&self) -> &dyn KnownSize
Convert the object to a dynamic KnownSize object, as rust doesn't support calling KnownSize -methods directly on this object