Trait ModuleStream

Source
pub trait ModuleStream {
    // Required methods
    fn get_file_callbacks() -> openmpt_stream_callbacks;
    unsafe extern "C" fn openmpt_read(
        stream: *mut c_void,
        dst: *mut c_void,
        bytes: usize,
    ) -> usize;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> ModuleStream for T
where T: Read,