pub trait GetPropertyTypeHandler: Sized {
    // Required method
    fn get_property_generic(
        instance: &Mpv,
        property: &str
    ) -> Result<Self, Error>;
}

Required Methods§

source

fn get_property_generic(instance: &Mpv, property: &str) -> Result<Self, Error>

Implementations on Foreign Types§

source§

impl GetPropertyTypeHandler for usize

source§

fn get_property_generic(instance: &Mpv, property: &str) -> Result<usize, Error>

source§

impl GetPropertyTypeHandler for HashMap<String, MpvDataType>

source§

impl GetPropertyTypeHandler for Vec<PlaylistEntry>

source§

fn get_property_generic( instance: &Mpv, property: &str ) -> Result<Vec<PlaylistEntry>, Error>

source§

impl GetPropertyTypeHandler for String

source§

fn get_property_generic(instance: &Mpv, property: &str) -> Result<String, Error>

source§

impl GetPropertyTypeHandler for bool

source§

fn get_property_generic(instance: &Mpv, property: &str) -> Result<bool, Error>

source§

impl GetPropertyTypeHandler for f64

source§

fn get_property_generic(instance: &Mpv, property: &str) -> Result<f64, Error>

Implementors§