png::text_metadata

Trait EncodableTextChunk

source
pub trait EncodableTextChunk {
    // Required method
    fn encode<W: Write>(&self, w: &mut W) -> Result<(), EncodingError>;
}
Expand description

A generalized text chunk trait

Required Methods§

source

fn encode<W: Write>(&self, w: &mut W) -> Result<(), EncodingError>

Encode text chunk as Vec<u8> to a Write

Object Safety§

This trait is not object safe.

Implementors§