oarust 0.9.0

GPU-first semantic computing engine written in Rust
// @generated by tool/gen/fn/generate.py; DO NOT EDIT.
// schema=sessions.json,codecs.json,ml_parity.json schema_version=1 generator_version=64
// schema_sha256=d4e3a6e7b677bb3cfd2d5a9d46e4bc5f8b10f8e88c5292959d42456422c21a4b
use crate::image::{Image, ImageCodec, ImageFormat};
use crate::{Engine, Result};

#[allow(clippy::type_complexity)]
const _: fn(&Engine, &[u8], ImageFormat) -> Result<Image> = crate::image::decode_memory;
#[allow(clippy::type_complexity)]
const _: fn(&Image, ImageCodec, u32) -> Result<Vec<u8>> = crate::image::encode;
#[allow(clippy::type_complexity)]
const _: fn(ImageCodec) -> bool = crate::image::can_decode;
#[allow(clippy::type_complexity)]
const _: fn(ImageCodec) -> bool = crate::image::can_encode;
#[allow(clippy::type_complexity)]
const _: fn(&Engine, &std::path::Path, ImageFormat) -> Result<Image> =
	|engine, path, format| crate::image::decode_file(engine, path, format);
#[allow(clippy::type_complexity)]
const _: fn(&std::path::Path, &Image, u32) -> Result<()> =
	|path, image, quality| crate::image::save_file(path, image, quality);
#[allow(clippy::type_complexity)]
const _: fn(&[u8], u32, u32, &std::path::Path, u32) -> Result<()> =
	|rgba, width, height, path, quality| {
		crate::image::save_rgba_file(rgba, width, height, path, quality)
	};