pub struct ScalingParams {
pub scale: f32,
pub zero_point: f32,
}Fields§
§scale: f32§zero_point: f32Trait Implementations§
Source§impl Clone for ScalingParams
impl Clone for ScalingParams
Source§fn clone(&self) -> ScalingParams
fn clone(&self) -> ScalingParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScalingParams
impl Debug for ScalingParams
impl Copy for ScalingParams
Auto Trait Implementations§
impl Freeze for ScalingParams
impl RefUnwindSafe for ScalingParams
impl Send for ScalingParams
impl Sync for ScalingParams
impl Unpin for ScalingParams
impl UnsafeUnpin for ScalingParams
impl UnwindSafe for ScalingParams
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