#[repr(C)]pub struct ZL_MIDecoderDesc {
pub gd: ZL_MIGraphDesc,
pub transform_f: ZL_MIDecoderFn,
pub name: *const c_char,
pub trStateMgr: ZL_CodecStateManager,
pub opaque: ZL_OpaquePtr,
}Fields§
§gd: ZL_MIGraphDesc§transform_f: ZL_MIDecoderFn§name: *const c_char§trStateMgr: ZL_CodecStateManager§opaque: ZL_OpaquePtrOptionally an opaque pointer that can be queried with ZL_Decoder_getOpaquePtr(). OpenZL unconditionally takes ownership of this pointer, even if registration fails, and it lives for the lifetime of the dctx.
Trait Implementations§
Source§impl Clone for ZL_MIDecoderDesc
impl Clone for ZL_MIDecoderDesc
Source§fn clone(&self) -> ZL_MIDecoderDesc
fn clone(&self) -> ZL_MIDecoderDesc
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ZL_MIDecoderDesc
impl Debug for ZL_MIDecoderDesc
impl Copy for ZL_MIDecoderDesc
Auto Trait Implementations§
impl Freeze for ZL_MIDecoderDesc
impl RefUnwindSafe for ZL_MIDecoderDesc
impl !Send for ZL_MIDecoderDesc
impl !Sync for ZL_MIDecoderDesc
impl Unpin for ZL_MIDecoderDesc
impl UnwindSafe for ZL_MIDecoderDesc
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