Trait ComparisonValue

Source
pub trait ComparisonValue {
    type Integral: Default;

    // Required method
    fn value(&self) -> Self::Integral;
}

Required Associated Types§

Required Methods§

Source

fn value(&self) -> Self::Integral

Implementations on Foreign Types§

Source§

impl ComparisonValue for i8

Source§

type Integral = i8

Source§

fn value(&self) -> Self::Integral

Source§

impl ComparisonValue for i16

Source§

type Integral = i16

Source§

fn value(&self) -> Self::Integral

Source§

impl ComparisonValue for i32

Source§

type Integral = i32

Source§

fn value(&self) -> Self::Integral

Source§

impl ComparisonValue for i64

Source§

type Integral = i64

Source§

fn value(&self) -> Self::Integral

Source§

impl ComparisonValue for i128

Source§

type Integral = i128

Source§

fn value(&self) -> Self::Integral

Source§

impl ComparisonValue for isize

Source§

type Integral = isize

Source§

fn value(&self) -> Self::Integral

Source§

impl ComparisonValue for u8

Source§

type Integral = u8

Source§

fn value(&self) -> Self::Integral

Source§

impl ComparisonValue for u16

Source§

type Integral = u16

Source§

fn value(&self) -> Self::Integral

Source§

impl ComparisonValue for u32

Source§

type Integral = u32

Source§

fn value(&self) -> Self::Integral

Source§

impl ComparisonValue for u64

Source§

type Integral = u64

Source§

fn value(&self) -> Self::Integral

Source§

impl ComparisonValue for u128

Source§

type Integral = u128

Source§

fn value(&self) -> Self::Integral

Source§

impl ComparisonValue for usize

Source§

type Integral = usize

Source§

fn value(&self) -> Self::Integral

Implementors§