Struct openmpt_sys::openmpt_stream_callbacks
source · [−]#[repr(C)]pub struct openmpt_stream_callbacks {
pub read: openmpt_stream_read_func,
pub seek: openmpt_stream_seek_func,
pub tell: openmpt_stream_tell_func,
}
Expand description
\brief Stream callbacks
Stream callbacks used by libopenmpt for stream operations. \sa openmpt_stream_get_file_callbacks \sa openmpt_stream_get_fd_callbacks \sa openmpt_stream_get_buffer_callbacks
Fields
read: openmpt_stream_read_func
\brief Read callback.
\sa openmpt_stream_read_func
seek: openmpt_stream_seek_func
\brief Seek callback.
Seek callback can be NULL if seeking is not supported. \sa openmpt_stream_seek_func
tell: openmpt_stream_tell_func
\brief Tell callback.
Tell callback can be NULL if seeking is not supported. \sa openmpt_stream_tell_func
Trait Implementations
sourceimpl Clone for openmpt_stream_callbacks
impl Clone for openmpt_stream_callbacks
sourcefn clone(&self) -> openmpt_stream_callbacks
fn clone(&self) -> openmpt_stream_callbacks
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for openmpt_stream_callbacks
impl Debug for openmpt_stream_callbacks
impl Copy for openmpt_stream_callbacks
Auto Trait Implementations
impl RefUnwindSafe for openmpt_stream_callbacks
impl Send for openmpt_stream_callbacks
impl Sync for openmpt_stream_callbacks
impl Unpin for openmpt_stream_callbacks
impl UnwindSafe for openmpt_stream_callbacks
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more