oarust 0.20.0

GPU-first semantic computing runtime written in Rust
Documentation
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=a04c382ee67a0b5a5d1b84bddb58cc689b108fb03d0fa4479754a2e3f57ad029
use crate::media::{MediaPlayer, MediaPlayerConfig};
use crate::{Result, Runtime};

#[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(&Runtime, MediaPlayerConfig) -> Result<MediaPlayer> = crate::media::MediaPlayer::open;