Module types

Source
Expand description

Definitions and trait implementations for the various types that can be used to communicate with mpv.

Structs§

Format
A type representing the possible data types used in communication with mpv.
OsdString
A wrapper around String for mpv OSD property strings. See Format::OSD_STRING.

Enums§

Node
Generic data storage for various mpv argument types and responses.

Traits§

MpvFormat
Defines a type understood by mpv.
MpvRecv
Defines a type which may be received from mpv.
MpvSend
Defines a type which may be sent to mpv.

Type Aliases§

ByteArray
A Vec<u8> representing a raw, untyped byte array. Only used with Node, and only in some very specific situations. (Some commands use it.)
NodeArray
A Vec<Node>, used only within a Node, and only in specific situations.
NodeMap
A HashMap<String, Node>, used only within a Node, and only in specific situations.