Enum mpv::Format
[−]
[src]
pub enum Format<'a> { Flag(bool), Str(&'a str), Double(f64), Int(i64), OsdStr(&'a str), }
Event replies GetPropertyReply
and PropertyChange
will answer this object.
This list is incomplete, the current formats are missing :
Node
NodeArray
NodeMap
ByteArray
Variants
Flag(bool)
Str(&'a str)
Double(f64)
Int(i64)
OsdStr(&'a str)
Methods
impl<'a> Format<'a>
[src]
fn get_mpv_format(&self) -> MpvInternalFormat
fn get_from_c_void(format: MpvInternalFormat, pointer: *mut c_void) -> Self
This is used internally by the mpv-rs crate, you probably should not be using this.