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§
fn get_format() -> Format
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.