pub struct QuantSpline {
pub quant_points: Vec<(i64, i64)>,
pub manhattan_distance: u64,
pub xyb_dct: [[i32; 32]; 3],
pub sigma_dct: [i32; 32],
}
Expand description
Holds delta-endcoded control points coordinates (without starting point) and quantized DCT32 coefficients
Fields§
§quant_points: Vec<(i64, i64)>
§manhattan_distance: u64
§xyb_dct: [[i32; 32]; 3]
§sigma_dct: [i32; 32]
Trait Implementations§
Source§impl Clone for QuantSpline
impl Clone for QuantSpline
Source§fn clone(&self) -> QuantSpline
fn clone(&self) -> QuantSpline
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 Debug for QuantSpline
impl Debug for QuantSpline
Source§impl Default for QuantSpline
impl Default for QuantSpline
Source§fn default() -> QuantSpline
fn default() -> QuantSpline
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QuantSpline
impl RefUnwindSafe for QuantSpline
impl Send for QuantSpline
impl Sync for QuantSpline
impl Unpin for QuantSpline
impl UnwindSafe for QuantSpline
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, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
Source§fn default_with_context(_: Ctx) -> T
fn default_with_context(_: Ctx) -> T
Creates a default value with the given context.