#[repr(C)]pub struct ZL_FunctionGraphDesc {
pub name: *const c_char,
pub graph_f: ZL_FunctionGraphFn,
pub validate_f: ZL_FunctionGraphValidateFn,
pub inputTypeMasks: *const ZL_Type,
pub nbInputs: usize,
pub lastInputIsVariable: c_int,
pub customGraphs: *const ZL_GraphID,
pub nbCustomGraphs: usize,
pub customNodes: *const ZL_NodeID,
pub nbCustomNodes: usize,
pub localParams: ZL_LocalParams,
pub opaque: ZL_OpaquePtr,
}Fields§
§name: *const c_char§graph_f: ZL_FunctionGraphFn§validate_f: ZL_FunctionGraphValidateFn§inputTypeMasks: *const ZL_Type§nbInputs: usize§lastInputIsVariable: c_int§customGraphs: *const ZL_GraphID§nbCustomGraphs: usize§customNodes: *const ZL_NodeID§nbCustomNodes: usize§localParams: ZL_LocalParams§opaque: ZL_OpaquePtrOptionally an opaque pointer that can be queried with ZL_Graph_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_FunctionGraphDesc
impl Clone for ZL_FunctionGraphDesc
Source§fn clone(&self) -> ZL_FunctionGraphDesc
fn clone(&self) -> ZL_FunctionGraphDesc
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_FunctionGraphDesc
impl Debug for ZL_FunctionGraphDesc
impl Copy for ZL_FunctionGraphDesc
Auto Trait Implementations§
impl Freeze for ZL_FunctionGraphDesc
impl RefUnwindSafe for ZL_FunctionGraphDesc
impl !Send for ZL_FunctionGraphDesc
impl !Sync for ZL_FunctionGraphDesc
impl Unpin for ZL_FunctionGraphDesc
impl UnwindSafe for ZL_FunctionGraphDesc
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