pub struct UpscalingRule { /* private fields */ }Implementations§
Source§impl UpscalingRule
impl UpscalingRule
pub fn compute_scale(&self, values: &[i64]) -> f64
pub fn new(values_offset: Vec<usize>, upscaling_info: UpscalingInfo) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UpscalingRule
impl RefUnwindSafe for UpscalingRule
impl Send for UpscalingRule
impl Sync for UpscalingRule
impl Unpin for UpscalingRule
impl UnwindSafe for UpscalingRule
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