#[repr(C)]pub struct ZL_MIEncoderDesc {
pub gd: ZL_MIGraphDesc,
pub transform_f: ZL_MIEncoderFn,
pub localParams: ZL_LocalParams,
pub name: *const c_char,
pub trStateMgr: ZL_CodecStateManager,
pub opaque: ZL_OpaquePtr,
}Fields§
§gd: ZL_MIGraphDesc§transform_f: ZL_MIEncoderFn§localParams: ZL_LocalParams§name: *const c_char§trStateMgr: ZL_CodecStateManager§opaque: ZL_OpaquePtrOptionally an opaque pointer that can be queried with ZL_Encoder_getOpaquePtr(). OpenZL unconditionally takes ownership of this pointer, even if registration fails, and it lives for the lifetime of the compressor.
Trait Implementations§
Source§impl Clone for ZL_MIEncoderDesc
impl Clone for ZL_MIEncoderDesc
Source§fn clone(&self) -> ZL_MIEncoderDesc
fn clone(&self) -> ZL_MIEncoderDesc
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_MIEncoderDesc
impl Debug for ZL_MIEncoderDesc
impl Copy for ZL_MIEncoderDesc
Auto Trait Implementations§
impl Freeze for ZL_MIEncoderDesc
impl RefUnwindSafe for ZL_MIEncoderDesc
impl !Send for ZL_MIEncoderDesc
impl !Sync for ZL_MIEncoderDesc
impl Unpin for ZL_MIEncoderDesc
impl UnwindSafe for ZL_MIEncoderDesc
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