GetData

Trait GetData 

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

This trait describes which types are allowed to be passed to getter 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 GetData for bool

Source§

impl GetData for f64

Source§

impl GetData for i64

Source§

impl GetData for String

Implementors§