Skip to main content

PropertyGet

Trait PropertyGet 

Source
pub trait PropertyGet: PropertyGetImpl { }
Expand description

Types a property can be read as: bool, i64, f64, String. Sealed to the formats mpv’s property API speaks — the binding’s own conversion traits are deliberately not part of this crate’s API, so a binding major bump can’t be a breaking change here.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl PropertyGet for String

Source§

impl PropertyGet for bool

Source§

impl PropertyGet for f64

Source§

impl PropertyGet for i64

Implementors§