pub enum PropertyFormat {
Flag,
Int,
Double,
Str,
}Expand description
Wire format for Engine::observe — picks which PropertyValue
variant change notifications carry (mpv coerces where it can).
Variants§
Flag
Deliver as PropertyValue::Flag.
Int
Deliver as PropertyValue::Int.
Double
Deliver as PropertyValue::Double.
Str
Deliver as PropertyValue::Str.
Trait Implementations§
Source§impl Clone for PropertyFormat
impl Clone for PropertyFormat
Source§fn clone(&self) -> PropertyFormat
fn clone(&self) -> PropertyFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PropertyFormat
Source§impl Debug for PropertyFormat
impl Debug for PropertyFormat
impl Eq for PropertyFormat
Source§impl PartialEq for PropertyFormat
impl PartialEq for PropertyFormat
impl StructuralPartialEq for PropertyFormat
Auto Trait Implementations§
impl Freeze for PropertyFormat
impl RefUnwindSafe for PropertyFormat
impl Send for PropertyFormat
impl Sync for PropertyFormat
impl Unpin for PropertyFormat
impl UnsafeUnpin for PropertyFormat
impl UnwindSafe for PropertyFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more