Trait image::io::free_functions::DecoderVisitor

source ·
pub(crate) trait DecoderVisitor {
    type Result;

    // Required method
    fn visit_decoder<'a, D: ImageDecoder<'a>>(
        self,
        decoder: D,
    ) -> ImageResult<Self::Result>;
}

Required Associated Types§

Required Methods§

source

fn visit_decoder<'a, D: ImageDecoder<'a>>( self, decoder: D, ) -> ImageResult<Self::Result>

Object Safety§

This trait is not object safe.

Implementors§