oarust 0.14.1

GPU-first semantic computing engine written in Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// @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=826cb28a2ba19793e434397ccf4e94adaf4405c42d391511aa10a6ec39a8ca9f
use crate::media::{MediaPlayer, MediaPlayerConfig};
use crate::{Engine, Result};

#[allow(clippy::type_complexity)]
const _: fn(std::path::PathBuf, std::path::PathBuf) -> MediaPlayerConfig =
	|video_path, audio_path| crate::media::MediaPlayerConfig::new(video_path, audio_path);
#[allow(clippy::type_complexity)]
const _: fn(std::path::PathBuf) -> MediaPlayerConfig =
	|video_path| crate::media::MediaPlayerConfig::embedded(video_path);
#[allow(clippy::type_complexity)]
const _: fn(&Engine, MediaPlayerConfig) -> Result<MediaPlayer> = crate::media::MediaPlayer::open;