[−][src]Struct libmpv_sys::mpv_stream_cb_info
See mpv_stream_cb_open_ro_fn callback.
Fields
Opaque user-provided value, which will be passed to the other callbacks. The close callback will be called to release the cookie. It is not interpreted by mpv. It doesn't even need to be a valid pointer.
The user sets this in the mpv_stream_cb_open_ro_fn callback.
read_fn: mpv_stream_cb_read_fn
Callbacks set by the user in the mpv_stream_cb_open_ro_fn callback. Some of them are optional, and can be left unset.
The following callbacks are mandatory: read_fn, close_fn
seek_fn: mpv_stream_cb_seek_fn
size_fn: mpv_stream_cb_size_fn
close_fn: mpv_stream_cb_close_fn
cancel_fn: mpv_stream_cb_cancel_fn
Trait Implementations
impl Clone for mpv_stream_cb_info
[src]
fn clone(&self) -> mpv_stream_cb_info
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for mpv_stream_cb_info
[src]
impl Debug for mpv_stream_cb_info
[src]
Auto Trait Implementations
impl RefUnwindSafe for mpv_stream_cb_info
impl !Send for mpv_stream_cb_info
impl !Sync for mpv_stream_cb_info
impl Unpin for mpv_stream_cb_info
impl UnwindSafe for mpv_stream_cb_info
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,