Trait fixnum::ops::Bounded

source ·
pub trait Bounded {
    const MIN: Self;
    const MAX: Self;
}
Expand description

Represents MIN and MAX values.

Required Associated Constants§

source

const MIN: Self

Represents MIN.

source

const MAX: Self

Represents MAX.

Implementations on Foreign Types§

source§

impl Bounded for i128

source§

const MIN: Self = -170_141_183_460_469_231_731_687_303_715_884_105_728i128

source§

const MAX: Self = 170_141_183_460_469_231_731_687_303_715_884_105_727i128

source§

impl Bounded for i16

source§

const MIN: Self = -32_768i16

source§

const MAX: Self = 32_767i16

source§

impl Bounded for i32

source§

const MIN: Self = -2_147_483_648i32

source§

const MAX: Self = 2_147_483_647i32

source§

impl Bounded for i8

source§

const MIN: Self = -128i8

source§

const MAX: Self = 127i8

source§

impl Bounded for i64

source§

const MIN: Self = -9_223_372_036_854_775_808i64

source§

const MAX: Self = 9_223_372_036_854_775_807i64

Implementors§

source§

impl<P: Precision> Bounded for FixedPoint<i16, P>

Available on crate feature i16 only.
source§

const MIN: Self = _

source§

const MAX: Self = _

source§

impl<P: Precision> Bounded for FixedPoint<i32, P>

Available on crate feature i32 only.
source§

const MIN: Self = _

source§

const MAX: Self = _

source§

impl<P: Precision> Bounded for FixedPoint<i64, P>

Available on crate feature i64 only.
source§

const MIN: Self = _

source§

const MAX: Self = _

source§

impl<P: Precision> Bounded for FixedPoint<i128, P>

Available on crate feature i128 only.
source§

const MIN: Self = _

source§

const MAX: Self = _