Struct jxl_vardct::DequantMatrixSetParams
source · pub struct DequantMatrixSetParams<'a, 'pool, 'tracker> { /* private fields */ }
Expand description
Parameters for decoding DequantMatrixSet
.
Implementations§
source§impl<'a, 'pool, 'tracker> DequantMatrixSetParams<'a, 'pool, 'tracker>
impl<'a, 'pool, 'tracker> DequantMatrixSetParams<'a, 'pool, 'tracker>
sourcepub fn new(
bit_depth: u32,
num_lf_groups: u32,
global_ma_config: Option<&'a MaConfig>,
tracker: Option<&'tracker AllocTracker>,
pool: &'pool JxlThreadPool,
) -> Self
pub fn new( bit_depth: u32, num_lf_groups: u32, global_ma_config: Option<&'a MaConfig>, tracker: Option<&'tracker AllocTracker>, pool: &'pool JxlThreadPool, ) -> Self
Create a new DequantMatrixSetParams
with the given information.
num_lf_groups
is used to compute the stream index for Modular images.
Trait Implementations§
source§impl Bundle<DequantMatrixSetParams<'_, '_, '_>> for DequantMatrixSet
impl Bundle<DequantMatrixSetParams<'_, '_, '_>> for DequantMatrixSet
source§impl<'a, 'pool, 'tracker> Clone for DequantMatrixSetParams<'a, 'pool, 'tracker>
impl<'a, 'pool, 'tracker> Clone for DequantMatrixSetParams<'a, 'pool, 'tracker>
source§fn clone(&self) -> DequantMatrixSetParams<'a, 'pool, 'tracker>
fn clone(&self) -> DequantMatrixSetParams<'a, 'pool, 'tracker>
Returns a copy 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<'a, 'pool, 'tracker> Debug for DequantMatrixSetParams<'a, 'pool, 'tracker>
impl<'a, 'pool, 'tracker> Debug for DequantMatrixSetParams<'a, 'pool, 'tracker>
impl<'a, 'pool, 'tracker> Copy for DequantMatrixSetParams<'a, 'pool, 'tracker>
Auto Trait Implementations§
impl<'a, 'pool, 'tracker> Freeze for DequantMatrixSetParams<'a, 'pool, 'tracker>
impl<'a, 'pool, 'tracker> RefUnwindSafe for DequantMatrixSetParams<'a, 'pool, 'tracker>
impl<'a, 'pool, 'tracker> Send for DequantMatrixSetParams<'a, 'pool, 'tracker>
impl<'a, 'pool, 'tracker> Sync for DequantMatrixSetParams<'a, 'pool, 'tracker>
impl<'a, 'pool, 'tracker> Unpin for DequantMatrixSetParams<'a, 'pool, 'tracker>
impl<'a, 'pool, 'tracker> UnwindSafe for DequantMatrixSetParams<'a, 'pool, 'tracker>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)