Trait png::text_metadata::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§