pub trait SetPropertyTypeHandler<T> {
// Required method
async fn set_property_generic(
instance: &Mpv,
property: &str,
value: T,
) -> Result<(), MpvError>;
}
Expand description
A trait for specifying how to serialize and set a value through Mpv::set_property
.
Required Methods§
async fn set_property_generic( instance: &Mpv, property: &str, value: T, ) -> Result<(), MpvError>
Object Safety§
This trait is not object safe.