Module core_api

Source
Expand description

The core API for interacting with Mpv.

Structs§

Mpv
The main struct for interacting with mpv.
Playlist
A mpv playlist.
PlaylistEntry
A single entry in the mpv playlist.

Enums§

MpvCommand
All possible commands that can be sent to mpv.
MpvDataType
Generic data type representing all possible data types that mpv can return.
PlaylistAddOptions
Options for MpvCommand::LoadFile and MpvCommand::LoadList.
SeekOptions
Options for MpvCommand::Seek.

Traits§

GetPropertyTypeHandler
A trait for specifying how to extract and parse a value returned through Mpv::get_property.
IntoRawCommandPart 🔒
Helper trait to keep track of the string literals that mpv expects.
SetPropertyTypeHandler
A trait for specifying how to serialize and set a value through Mpv::set_property.