[][src]Function pconvert_rust::utils::image_filter_from

pub fn image_filter_from(filter: String) -> FilterType

Converts a String to a image::codecs::png::FilterType. This can not be done by implementing the trait From<String> for FilterType due to Rust's orphan rule.