#[repr(C)]pub struct ZL_GraphParameters_s {
pub name: *const c_char,
pub customGraphs: *const ZL_GraphID,
pub nbCustomGraphs: usize,
pub customNodes: *const ZL_NodeID,
pub nbCustomNodes: usize,
pub localParams: *const ZL_LocalParams,
}Expand description
@defgroup Group_Compressor_GraphCustomization Graph Customization
Graphs can be customized to override their name, local parameters, custom nodes and custom graphs. This is an advanced use case, and mainly an implementation detail of graphs. Most graphs which accept parameters provide helper functions to correctly parameterize the graph.
@{
Fields§
§name: *const c_charOptional, for debug traces, otherwise it is derived from graph’s name.
customGraphs: *const ZL_GraphIDEmpty means don’t override
nbCustomGraphs: usize§customNodes: *const ZL_NodeIDEmpty means don’t override
nbCustomNodes: usize§localParams: *const ZL_LocalParamsNULL means don’t override
Trait Implementations§
Source§impl Clone for ZL_GraphParameters_s
impl Clone for ZL_GraphParameters_s
Source§fn clone(&self) -> ZL_GraphParameters_s
fn clone(&self) -> ZL_GraphParameters_s
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_GraphParameters_s
impl Debug for ZL_GraphParameters_s
impl Copy for ZL_GraphParameters_s
Auto Trait Implementations§
impl Freeze for ZL_GraphParameters_s
impl RefUnwindSafe for ZL_GraphParameters_s
impl !Send for ZL_GraphParameters_s
impl !Sync for ZL_GraphParameters_s
impl Unpin for ZL_GraphParameters_s
impl UnwindSafe for ZL_GraphParameters_s
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