Trait mpv_client::Format 
source · pub trait Format: Sized + Default {
    const MPV_FORMAT: i32;
    fn from_ptr(ptr: *const c_void) -> Result<Self, Error>;
    fn to_mpv<F: Fn(*const c_void) -> Result<(), Error>>(
        self,
        fun: F
    ) -> Result<(), Error>;
    fn from_mpv<F: Fn(*mut c_void) -> Result<(), Error>>(
        fun: F
    ) -> Result<Self, Error>;
}