SetData

Trait SetData 

Source
pub unsafe trait SetData: Sized {
    // Required method
    fn get_format() -> Format;
}
Expand description

This trait describes which types are allowed to be passed to setter mpv APIs.

Required Methods§

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 SetData for bool

Source§

impl SetData for f64

Source§

impl SetData for i64

Source§

impl SetData for String

Source§

impl<'a> SetData for &'a str

Implementors§