#[repr(C)]pub struct ZL_NodeParameters {
pub name: *const c_char,
pub localParams: *const ZL_LocalParams,
pub dictID: ZL_DictID,
pub mparam: ZL_MParam,
}Expand description
@defgroup Group_Compressor_NodeCustomization Node Customization
Nodes can be customized to override their name and local parameters. This is an advanced use case, and mainly an implementation detail of nodes. Most nodes that accept parameters provide helper functions to correctly parameterize the node.
@{
Fields§
§name: *const c_charOptionally a new name, if NULL it is derived from the node’s name
localParams: *const ZL_LocalParamsOptionally the new local params, if NULL then the parameters are not updated.
dictID: ZL_DictIDOptionally, a new dict ID. If set to ZL_DICT_ID_NULL, then the dict ID is not updated.
mparam: ZL_MParamOptionally, a new MParam.
Trait Implementations§
Source§impl Clone for ZL_NodeParameters
impl Clone for ZL_NodeParameters
Source§fn clone(&self) -> ZL_NodeParameters
fn clone(&self) -> ZL_NodeParameters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ZL_NodeParameters
Auto Trait Implementations§
impl !Send for ZL_NodeParameters
impl !Sync for ZL_NodeParameters
impl Freeze for ZL_NodeParameters
impl RefUnwindSafe for ZL_NodeParameters
impl Unpin for ZL_NodeParameters
impl UnsafeUnpin for ZL_NodeParameters
impl UnwindSafe for ZL_NodeParameters
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