pub struct CustomCallbacks {
pub m_user_data: *mut c_void,
pub m_free_user_data_fn: opj_stream_free_user_data_fn,
pub m_read_fn: opj_stream_read_fn,
pub m_write_fn: opj_stream_write_fn,
pub m_skip_fn: opj_stream_skip_fn,
pub m_seek_fn: opj_stream_seek_fn,
}Expand description
Shared, mutable C callback set for a C-created stream.
Fields§
§m_user_data: *mut c_void§m_free_user_data_fn: opj_stream_free_user_data_fn§m_read_fn: opj_stream_read_fn§m_write_fn: opj_stream_write_fn§m_skip_fn: opj_stream_skip_fn§m_seek_fn: opj_stream_seek_fnTrait Implementations§
Auto Trait Implementations§
impl !Send for CustomCallbacks
impl !Sync for CustomCallbacks
impl Forget for CustomCallbacks
impl Freeze for CustomCallbacks
impl Move for CustomCallbacks
impl RefUnwindSafe for CustomCallbacks
impl Unpin for CustomCallbacks
impl UnsafeUnpin for CustomCallbacks
impl UnwindSafe for CustomCallbacks
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more