pub struct FixedPoint {
pub min_q: i64,
pub max_q: i64,
pub scale: u32,
}Expand description
Fixed-point quantization parameters (all integer-based).
Fields§
§min_q: i64Minimum quantized value.
max_q: i64Maximum quantized value.
scale: u32Units per 1.0 (e.g., 100 => 0.01 resolution).
Implementations§
Trait Implementations§
Source§impl Clone for FixedPoint
impl Clone for FixedPoint
Source§fn clone(&self) -> FixedPoint
fn clone(&self) -> FixedPoint
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 FixedPoint
impl Debug for FixedPoint
Source§impl PartialEq for FixedPoint
impl PartialEq for FixedPoint
impl Copy for FixedPoint
impl Eq for FixedPoint
impl StructuralPartialEq for FixedPoint
Auto Trait Implementations§
impl Freeze for FixedPoint
impl RefUnwindSafe for FixedPoint
impl Send for FixedPoint
impl Sync for FixedPoint
impl Unpin for FixedPoint
impl UnwindSafe for FixedPoint
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