imsz

Trait Ratio

source
pub(crate) trait Ratio<T: Sized> {
    // Required method
    fn value<R>(&self) -> R::Output
       where R: Sized + Div + From<T>;
}

Required Methods§

source

fn value<R>(&self) -> R::Output
where R: Sized + Div + From<T>,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Ratio<i32> for (i32, i32)

source§

fn value<R>(&self) -> R::Output
where R: Sized + Div + From<i32>,

source§

impl Ratio<u32> for (u32, u32)

source§

fn value<R>(&self) -> R::Output
where R: Sized + Div + From<u32>,

Implementors§