#[repr(C)]pub struct ZL_TypedEncoderDesc {
pub gd: ZL_TypedGraphDesc,
pub transform_f: ZL_TypedEncoderFn,
pub localParams: ZL_LocalParams,
pub name: *const c_char,
pub trStateMgr: ZL_CodecStateManager,
pub opaque: ZL_OpaquePtr,
}Fields§
§gd: ZL_TypedGraphDesc§transform_f: ZL_TypedEncoderFn§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_TypedEncoderDesc
impl Clone for ZL_TypedEncoderDesc
Source§fn clone(&self) -> ZL_TypedEncoderDesc
fn clone(&self) -> ZL_TypedEncoderDesc
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_TypedEncoderDesc
impl Debug for ZL_TypedEncoderDesc
impl Copy for ZL_TypedEncoderDesc
Auto Trait Implementations§
impl Freeze for ZL_TypedEncoderDesc
impl RefUnwindSafe for ZL_TypedEncoderDesc
impl !Send for ZL_TypedEncoderDesc
impl !Sync for ZL_TypedEncoderDesc
impl Unpin for ZL_TypedEncoderDesc
impl UnwindSafe for ZL_TypedEncoderDesc
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