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
)