pub struct PropertyChange {
pub name: String,
pub value: Result<PropertyValue>,
pub userdata: u64,
}
Expand description
Details provided to Event::PropertyChange
.
Fields§
§name: String
Name of the property.
value: Result<PropertyValue>
New value of the property, or PropertyValue::None
if an error occurred.
Note that mpv does not propagate error details for the PropertyChange
event.
Any Err
result will be a RustError
created while attempting to parse the data.
userdata: u64
userdata
value passed to the mpv request which generated this event, if provided.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PropertyChange
impl RefUnwindSafe for PropertyChange
impl Send for PropertyChange
impl Sync for PropertyChange
impl Unpin for PropertyChange
impl UnwindSafe for PropertyChange
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