pub struct Quantizer<T: FiniteFloat, const DIM: usize> {
pub n_levels: [usize; DIM],
/* private fields */
}
Fields§
§n_levels: [usize; DIM]
Implementations§
Trait Implementations§
Source§impl<T: FiniteFloat, const DIM: usize> HasQuantizationMethods<T, DIM> for Quantizer<T, DIM>
impl<T: FiniteFloat, const DIM: usize> HasQuantizationMethods<T, DIM> for Quantizer<T, DIM>
impl<T: Copy + FiniteFloat, const DIM: usize> Copy for Quantizer<T, DIM>
Auto Trait Implementations§
impl<T, const DIM: usize> Freeze for Quantizer<T, DIM>where
T: Freeze,
impl<T, const DIM: usize> RefUnwindSafe for Quantizer<T, DIM>where
T: RefUnwindSafe,
impl<T, const DIM: usize> Send for Quantizer<T, DIM>where
T: Send,
impl<T, const DIM: usize> Sync for Quantizer<T, DIM>where
T: Sync,
impl<T, const DIM: usize> Unpin for Quantizer<T, DIM>where
T: Unpin,
impl<T, const DIM: usize> UnwindSafe for Quantizer<T, DIM>where
T: UnwindSafe,
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