Trait MpvSend

Source
pub trait MpvSend: MpvSendInternal { }
Expand description

Defines a type which may be sent to mpv.

All types sent to mpv must have a stable C representation. However, since trait implementations may be able to construct these intermediate representations before sending the data to mpv, this trait is a superset of MpvRecv (i.e., it includes &str in addition to String).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl MpvSend for &str

Source§

impl MpvSend for bool

Source§

impl MpvSend for f64

Source§

impl MpvSend for i64

Source§

impl MpvSend for String

Implementors§