Struct libmpv2::protocol::ProtocolContext
source · 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