Trait libmpv2::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§

Object Safety§

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§