jiff::fmt::strtime::parse

Type Alias ParsedOffsetMinutes

Source
type ParsedOffsetMinutes = ri8<0, { t::SpanZoneOffsetMinutes::MAX }>;

Aliased Type§

struct ParsedOffsetMinutes {
    pub(crate) val: i8,
    pub(crate) min: i8,
    pub(crate) max: i8,
}

Fields§

§val: i8

The actual value of the integer.

Callers should not access this directly. There are some very rare cases where algorithms are too difficult to express on ranged integers, and it’s useful to be able to reach inside and access the raw value directly. (For example, the conversions between Unix epoch day and Gregorian date.)

§min: i8

The minimum possible value computed so far.

This value is only present when debug_assertions are enabled. In that case, it is used to ensure the minimum possible value when the integer is actually observed (or converted) is still within the legal range.

Callers should not access this directly. There are some very rare cases where algorithms are too difficult to express on ranged integers, and it’s useful to be able to reach inside and access the raw value directly. (For example, the conversions between Unix epoch day and Gregorian date.)

§max: i8

The maximum possible value computed so far.

This value is only present when debug_assertions are enabled. In that case, it is used to ensure the maximum possible value when the integer is actually observed (or converted) is still within the legal range.

Callers should not access this directly. There are some very rare cases where algorithms are too difficult to express on ranged integers, and it’s useful to be able to reach inside and access the raw value directly. (For example, the conversions between Unix epoch day and Gregorian date.)

Implementations

Source§

impl<const MIN: i128, const MAX: i128> ri8<MIN, MAX>

Source

const PRIMITIVE_MIN: i128 = -128i128

These are the absolute min/max values for the integer type being used.

Source

const PRIMITIVE_MAX: i128 = 127i128

Source

const IS_PRIMITIVE: bool

When true, this range integer has bounds precisely equivalent to its underlying primitive representation.

Source

pub(crate) const MIN: i128 = MIN

The min/max values as given by our type parameters.

Source

pub(crate) const MAX: i128 = MAX

Source

pub(crate) const LEN: i128

The number of distinct elements in this type’s range.

Source

pub(crate) const MIN_REPR: i8

The min/max values of this type, represented in their primitive form for easy comparisons with incoming values.

Source

pub(crate) const MAX_REPR: i8

Source

pub(crate) const MIN_SELF: Self

The min/max values of this type as a ranged type.

Source

pub(crate) const MAX_SELF: Self

Source

pub(crate) const MIN_CONST: Constant

The min/max values of this type as a constant.

Source

pub(crate) const MAX_CONST: Constant

Source

pub(crate) fn error(what: &'static str, given: i8) -> Error

Source

pub(crate) fn new(val: impl TryInto<i8>) -> Option<Self>

Source

pub(crate) const fn new_const(val: i8) -> Option<Self>

Like new, but monomorphic and works in a const context.

Source

pub(crate) fn try_new( what: &'static str, val: impl Into<i64>, ) -> Result<Self, Error>

Source

pub(crate) fn try_new128( what: &'static str, val: impl Into<i128>, ) -> Result<Self, Error>

Source

pub(crate) fn constrain(val: impl Into<i8>) -> Self

Source

pub(crate) const fn new_unchecked(val: i8) -> Self

Source

pub(crate) const fn N<const VAL: i8>() -> Self

Source

pub(crate) const fn N128<const VAL: i128>() -> Self

Source

pub(crate) const fn V<const VAL: i8, const START: i8, const END: i8>() -> Self

Source

pub(crate) const fn contains(val: i8) -> bool

Source

pub(crate) fn vary<const N: usize, const MIN2: i128, const MAX2: i128>( numbers: [Self; N], with: impl Fn([Self; N]) -> ri8<MIN2, MAX2>, ) -> ri8<MIN2, MAX2>

Source

pub(crate) fn vary_many<const N: usize, const M: usize, const MIN2: i128, const MAX2: i128>( numbers: [Self; N], with: impl Fn([Self; N]) -> [ri8<MIN2, MAX2>; M], ) -> [ri8<MIN2, MAX2>; M]

Source

pub(crate) fn get(self) -> i8

Source

pub(crate) const fn get_unchecked(self) -> i8

Returns the underlying value without checking whether it’s in bounds or not.

This should generally be avoided as it circumvents the protections of this type. It is sometimes useful in cases where the bounds are known not to matter. For example, in producing an error message for checked arithmetic. It’s also good to use this in Debug impls for higher level types, otherwise printing the debug representation of a type will fail if a ranged integer is out of bounds. (And this is annoying.)

Source

pub(crate) fn to_error_with_bounds( self, what: &'static str, min: impl Into<i128>, max: impl Into<i128>, ) -> Error

Turns this integer into an error.

This is useful because it will use the integer’s value even if it falls outside of the bounds of this type.

Callers can also use this routine to set custom context dependent bounds. For example, when the day of the month is out of bounds. The maximum value can vary based on the month (and year).

Source

pub(crate) fn abs(self) -> Self

Source

pub(crate) fn signum(self) -> ri8<-1, 1>

Source

pub(crate) fn min(self, other: impl RInto<Self>) -> Self

Source

pub(crate) fn max(self, other: impl RInto<Self>) -> Self

Source

pub(crate) fn clamp(self, min: impl RInto<Self>, max: impl RInto<Self>) -> Self

Source

pub(crate) fn div_ceil(self, rhs: impl RInto<Self>) -> Self

Source

pub(crate) fn div_floor(self, rhs: impl RInto<Self>) -> Self

Source

pub(crate) fn rem_ceil(self, rhs: impl RInto<Self>) -> Self

Source

pub(crate) fn rem_floor(self, rhs: impl RInto<Self>) -> Self

Source

pub(crate) fn try_checked_add( self, what: &'static str, rhs: impl RInto<Self>, ) -> Result<Self, Error>

Source

pub(crate) fn try_checked_sub( self, what: &'static str, rhs: impl RInto<Self>, ) -> Result<Self, Error>

Source

pub(crate) fn try_checked_mul( self, what: &'static str, rhs: impl RInto<Self>, ) -> Result<Self, Error>

Source

pub(crate) fn checked_add(self, rhs: impl RInto<Self>) -> Option<Self>

Source

pub(crate) fn checked_sub(self, rhs: impl RInto<Self>) -> Option<Self>

Source

pub(crate) fn checked_mul(self, rhs: impl RInto<Self>) -> Option<Self>

Source

pub(crate) fn wrapping_add(self, rhs: impl RInto<Self>) -> Self

Source

pub(crate) fn wrapping_sub(self, rhs: impl RInto<Self>) -> Self

Source

pub(crate) fn wrapping_mul(self, rhs: impl RInto<Self>) -> Self

Source

pub(crate) fn saturating_add(self, rhs: impl RInto<Self>) -> Self

Source

pub(crate) fn saturating_sub(self, rhs: impl RInto<Self>) -> Self

Source

pub(crate) fn saturating_mul(self, rhs: impl RInto<Self>) -> Self

Source

pub(crate) fn debug(self) -> RangedDebug<MIN, MAX>

Source§

impl<const MIN: i128, const MAX: i128> ri8<MIN, MAX>

Source

pub(crate) fn without_bounds(self) -> ri64<{ _ }, { _ }>

Trait Implementations

Source§

impl<const MIN: i128, const MAX: i128> Add<Constant> for ri8<MIN, MAX>

Source§

type Output = ri8<MIN, MAX>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Constant) -> Self::Output

Performs the + operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Add<ri128<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: ri128<MIN1, MAX1>) -> Self::Output

Performs the + operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Add<ri16<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: ri16<MIN1, MAX1>) -> Self::Output

Performs the + operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Add<ri32<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: ri32<MIN1, MAX1>) -> Self::Output

Performs the + operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Add<ri64<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: ri64<MIN1, MAX1>) -> Self::Output

Performs the + operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Add<ri8<MIN2, MAX2>> for ri8<MIN1, MAX1>

Source§

type Output = ri8<MIN1, MAX1>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: ri8<MIN2, MAX2>) -> Self::Output

Performs the + operation. Read more
Source§

impl<const MIN: i128, const MAX: i128> AddAssign<Constant> for ri8<MIN, MAX>

Source§

fn add_assign(&mut self, rhs: Constant)

Performs the += operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> AddAssign<ri128<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn add_assign(&mut self, rhs: ri128<MIN1, MAX1>)

Performs the += operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> AddAssign<ri16<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn add_assign(&mut self, rhs: ri16<MIN1, MAX1>)

Performs the += operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> AddAssign<ri32<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn add_assign(&mut self, rhs: ri32<MIN1, MAX1>)

Performs the += operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> AddAssign<ri64<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn add_assign(&mut self, rhs: ri64<MIN1, MAX1>)

Performs the += operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> AddAssign<ri8<MIN2, MAX2>> for ri8<MIN1, MAX1>

Source§

fn add_assign(&mut self, rhs: ri8<MIN2, MAX2>)

Performs the += operation. Read more
Source§

impl<const MIN: i128, const MAX: i128> Clone for ri8<MIN, MAX>

Source§

fn clone(&self) -> ri8<MIN, MAX>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<const MIN: i128, const MAX: i128> Debug for ri8<MIN, MAX>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<const MIN: i128, const MAX: i128> Display for ri8<MIN, MAX>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<const MIN: i128, const MAX: i128> Div<Constant> for ri8<MIN, MAX>

Source§

type Output = ri8<MIN, MAX>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Constant) -> Self::Output

Performs the / operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Div<ri128<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: ri128<MIN1, MAX1>) -> Self::Output

Performs the / operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Div<ri16<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: ri16<MIN1, MAX1>) -> Self::Output

Performs the / operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Div<ri32<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: ri32<MIN1, MAX1>) -> Self::Output

Performs the / operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Div<ri64<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: ri64<MIN1, MAX1>) -> Self::Output

Performs the / operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Div<ri8<MIN2, MAX2>> for ri8<MIN1, MAX1>

Source§

type Output = ri8<MIN1, MAX1>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: ri8<MIN2, MAX2>) -> Self::Output

Performs the / operation. Read more
Source§

impl<const MIN: i128, const MAX: i128> DivAssign<Constant> for ri8<MIN, MAX>

Source§

fn div_assign(&mut self, rhs: Constant)

Performs the /= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> DivAssign<ri128<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn div_assign(&mut self, rhs: ri128<MIN1, MAX1>)

Performs the /= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> DivAssign<ri16<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn div_assign(&mut self, rhs: ri16<MIN1, MAX1>)

Performs the /= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> DivAssign<ri32<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn div_assign(&mut self, rhs: ri32<MIN1, MAX1>)

Performs the /= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> DivAssign<ri64<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn div_assign(&mut self, rhs: ri64<MIN1, MAX1>)

Performs the /= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> DivAssign<ri8<MIN2, MAX2>> for ri8<MIN1, MAX1>

Source§

fn div_assign(&mut self, rhs: ri8<MIN2, MAX2>)

Performs the /= operation. Read more
Source§

impl<const MIN: i128, const MAX: i128> Hash for ri8<MIN, MAX>

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl<const MIN: i128, const MAX: i128> Mul<Constant> for ri8<MIN, MAX>

Source§

type Output = ri8<MIN, MAX>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Constant) -> Self::Output

Performs the * operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Mul<ri128<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: ri128<MIN1, MAX1>) -> Self::Output

Performs the * operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Mul<ri16<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: ri16<MIN1, MAX1>) -> Self::Output

Performs the * operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Mul<ri32<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: ri32<MIN1, MAX1>) -> Self::Output

Performs the * operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Mul<ri64<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: ri64<MIN1, MAX1>) -> Self::Output

Performs the * operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Mul<ri8<MIN2, MAX2>> for ri8<MIN1, MAX1>

Source§

type Output = ri8<MIN1, MAX1>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: ri8<MIN2, MAX2>) -> Self::Output

Performs the * operation. Read more
Source§

impl<const MIN: i128, const MAX: i128> MulAssign<Constant> for ri8<MIN, MAX>

Source§

fn mul_assign(&mut self, rhs: Constant)

Performs the *= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> MulAssign<ri128<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn mul_assign(&mut self, rhs: ri128<MIN1, MAX1>)

Performs the *= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> MulAssign<ri16<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn mul_assign(&mut self, rhs: ri16<MIN1, MAX1>)

Performs the *= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> MulAssign<ri32<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn mul_assign(&mut self, rhs: ri32<MIN1, MAX1>)

Performs the *= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> MulAssign<ri64<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn mul_assign(&mut self, rhs: ri64<MIN1, MAX1>)

Performs the *= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> MulAssign<ri8<MIN2, MAX2>> for ri8<MIN1, MAX1>

Source§

fn mul_assign(&mut self, rhs: ri8<MIN2, MAX2>)

Performs the *= operation. Read more
Source§

impl<const MIN: i128, const MAX: i128> Neg for ri8<MIN, MAX>

Source§

type Output = ri8<MIN, MAX>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self

Performs the unary - operation. Read more
Source§

impl<const MIN: i128, const MAX: i128> Ord for ri8<MIN, MAX>

Source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl<const MIN: i128, const MAX: i128> PartialEq<Constant> for ri8<MIN, MAX>

Source§

fn eq(&self, other: &Constant) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> PartialEq<ri128<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn eq(&self, other: &ri128<MIN1, MAX1>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> PartialEq<ri16<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn eq(&self, other: &ri16<MIN1, MAX1>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> PartialEq<ri32<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn eq(&self, other: &ri32<MIN1, MAX1>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> PartialEq<ri64<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn eq(&self, other: &ri64<MIN1, MAX1>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> PartialEq<ri8<MIN2, MAX2>> for ri8<MIN1, MAX1>

Source§

fn eq(&self, other: &ri8<MIN2, MAX2>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<const MIN: i128, const MAX: i128> PartialOrd<Constant> for ri8<MIN, MAX>

Source§

fn partial_cmp(&self, other: &Constant) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> PartialOrd<ri128<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn partial_cmp(&self, other: &ri128<MIN1, MAX1>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> PartialOrd<ri16<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn partial_cmp(&self, other: &ri16<MIN1, MAX1>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> PartialOrd<ri32<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn partial_cmp(&self, other: &ri32<MIN1, MAX1>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> PartialOrd<ri64<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn partial_cmp(&self, other: &ri64<MIN1, MAX1>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> PartialOrd<ri8<MIN2, MAX2>> for ri8<MIN1, MAX1>

Source§

fn partial_cmp(&self, other: &ri8<MIN2, MAX2>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<const MIN: i128, const MAX: i128> RFrom<Constant> for ri8<MIN, MAX>

Source§

fn rfrom(c: Constant) -> Self

Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> RFrom<ri128<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn rfrom(r: ri128<MIN1, MAX1>) -> Self

Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> RFrom<ri16<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn rfrom(r: ri16<MIN1, MAX1>) -> Self

Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> RFrom<ri32<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn rfrom(r: ri32<MIN1, MAX1>) -> Self

Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> RFrom<ri64<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn rfrom(r: ri64<MIN1, MAX1>) -> Self

Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> RFrom<ri8<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn rfrom(r: ri8<MIN1, MAX1>) -> Self

Source§

impl<const MIN: i128, const MAX: i128> Rem<Constant> for ri8<MIN, MAX>

Source§

type Output = ri8<MIN, MAX>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Constant) -> Self::Output

Performs the % operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Rem<ri128<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: ri128<MIN1, MAX1>) -> Self::Output

Performs the % operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Rem<ri16<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: ri16<MIN1, MAX1>) -> Self::Output

Performs the % operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Rem<ri32<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: ri32<MIN1, MAX1>) -> Self::Output

Performs the % operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Rem<ri64<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: ri64<MIN1, MAX1>) -> Self::Output

Performs the % operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Rem<ri8<MIN2, MAX2>> for ri8<MIN1, MAX1>

Source§

type Output = ri8<MIN1, MAX1>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: ri8<MIN2, MAX2>) -> Self::Output

Performs the % operation. Read more
Source§

impl<const MIN: i128, const MAX: i128> RemAssign<Constant> for ri8<MIN, MAX>

Source§

fn rem_assign(&mut self, rhs: Constant)

Performs the %= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> RemAssign<ri128<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn rem_assign(&mut self, rhs: ri128<MIN1, MAX1>)

Performs the %= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> RemAssign<ri16<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn rem_assign(&mut self, rhs: ri16<MIN1, MAX1>)

Performs the %= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> RemAssign<ri32<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn rem_assign(&mut self, rhs: ri32<MIN1, MAX1>)

Performs the %= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> RemAssign<ri64<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn rem_assign(&mut self, rhs: ri64<MIN1, MAX1>)

Performs the %= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> RemAssign<ri8<MIN2, MAX2>> for ri8<MIN1, MAX1>

Source§

fn rem_assign(&mut self, rhs: ri8<MIN2, MAX2>)

Performs the %= operation. Read more
Source§

impl<const MIN: i128, const MAX: i128> Sub<Constant> for ri8<MIN, MAX>

Source§

type Output = ri8<MIN, MAX>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Constant) -> Self::Output

Performs the - operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Sub<ri128<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: ri128<MIN1, MAX1>) -> Self::Output

Performs the - operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Sub<ri16<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: ri16<MIN1, MAX1>) -> Self::Output

Performs the - operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Sub<ri32<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: ri32<MIN1, MAX1>) -> Self::Output

Performs the - operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Sub<ri64<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

type Output = ri8<MIN2, MAX2>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: ri64<MIN1, MAX1>) -> Self::Output

Performs the - operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> Sub<ri8<MIN2, MAX2>> for ri8<MIN1, MAX1>

Source§

type Output = ri8<MIN1, MAX1>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: ri8<MIN2, MAX2>) -> Self::Output

Performs the - operation. Read more
Source§

impl<const MIN: i128, const MAX: i128> SubAssign<Constant> for ri8<MIN, MAX>

Source§

fn sub_assign(&mut self, rhs: Constant)

Performs the -= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> SubAssign<ri128<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn sub_assign(&mut self, rhs: ri128<MIN1, MAX1>)

Performs the -= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> SubAssign<ri16<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn sub_assign(&mut self, rhs: ri16<MIN1, MAX1>)

Performs the -= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> SubAssign<ri32<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn sub_assign(&mut self, rhs: ri32<MIN1, MAX1>)

Performs the -= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> SubAssign<ri64<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn sub_assign(&mut self, rhs: ri64<MIN1, MAX1>)

Performs the -= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> SubAssign<ri8<MIN2, MAX2>> for ri8<MIN1, MAX1>

Source§

fn sub_assign(&mut self, rhs: ri8<MIN2, MAX2>)

Performs the -= operation. Read more
Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> TryRFrom<ri128<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn try_rfrom(what: &'static str, r: ri128<MIN1, MAX1>) -> Result<Self, Error>

Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> TryRFrom<ri16<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn try_rfrom(what: &'static str, r: ri16<MIN1, MAX1>) -> Result<Self, Error>

Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> TryRFrom<ri32<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn try_rfrom(what: &'static str, r: ri32<MIN1, MAX1>) -> Result<Self, Error>

Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> TryRFrom<ri64<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn try_rfrom(what: &'static str, r: ri64<MIN1, MAX1>) -> Result<Self, Error>

Source§

impl<const MIN1: i128, const MAX1: i128, const MIN2: i128, const MAX2: i128> TryRFrom<ri8<MIN1, MAX1>> for ri8<MIN2, MAX2>

Source§

fn try_rfrom(what: &'static str, r: ri8<MIN1, MAX1>) -> Result<Self, Error>

Source§

impl<const MIN: i128, const MAX: i128> Copy for ri8<MIN, MAX>

Source§

impl<const MIN: i128, const MAX: i128> Eq for ri8<MIN, MAX>