pub struct ProtocolContext<'parent, T: RefUnwindSafe, U: RefUnwindSafe> { /* private fields */ }Expand description
This context holds state relevant to custom protocols.
It is created by calling Mpv::create_protocol_context.
Implementations§
Source§impl<'parent, T: RefUnwindSafe, U: RefUnwindSafe> ProtocolContext<'parent, T, U>
impl<'parent, T: RefUnwindSafe, U: RefUnwindSafe> ProtocolContext<'parent, T, U>
Trait Implementations§
impl<'parent, T: RefUnwindSafe, U: RefUnwindSafe> Send for ProtocolContext<'parent, T, U>
impl<'parent, T: RefUnwindSafe, U: RefUnwindSafe> Sync for ProtocolContext<'parent, T, U>
Auto Trait Implementations§
impl<'parent, T, U> !Freeze for ProtocolContext<'parent, T, U>
impl<'parent, T, U> RefUnwindSafe for ProtocolContext<'parent, T, U>
impl<'parent, T, U> Unpin for ProtocolContext<'parent, T, U>
impl<'parent, T, U> UnwindSafe for ProtocolContext<'parent, T, U>
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