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

Methods

impl<'a> Format<'a>
[src]

This is used internally by the mpv-rs crate, you probably should not be using this.

Trait Implementations

impl<'a> Debug for Format<'a>
[src]

Formats the value using the given formatter.