Struct ux::i61

source ·
pub struct i61(/* private fields */);
Expand description

The 61-bit signed integer type.

Implementations§

source§

impl i61

The 61-bit signed integer type.

source

pub const MAX: Self = _

source

pub const MIN: Self = _

source

pub const BITS: u32 = 61u32

source§

impl i61

source

pub fn min_value() -> i61

Returns the smallest value that can be represented by this integer type.

source

pub fn max_value() -> i61

Returns the largest value that can be represented by this integer type.

source

pub const fn new(value: i64) -> i61

Crates a new variable

This function mainly exists as there is currently not a better way to construct these types. May be deprecated or removed if a better way to construct these types becomes available.

§Examples

Basic usage:

use ux::*;

assert_eq!(u31::new(64), u31::from(64u8));
§Panic

This function will panic if value is not representable by this type

source

pub fn wrapping_sub(self, rhs: Self) -> Self

Wrapping (modular) subtraction. Computes self - other, wrapping around at the boundary of the type.

§Examples

Basic usage:

use ux::*;

assert_eq!(i5::MIN.wrapping_sub(i5::new(1)), i5::MAX);

assert_eq!(i5::new(-10).wrapping_sub(i5::new(5)), i5::new(-15));
assert_eq!(i5::new(-15).wrapping_sub(i5::new(5)), i5::new(12));
source

pub fn wrapping_add(self, rhs: Self) -> Self

Wrapping (modular) addition. Computes self + other, wrapping around at the boundary of the type.

§Examples

Basic usage:

use ux::*;

assert_eq!(i5::MAX.wrapping_add(i5::new(1)), i5::MIN);

assert_eq!(i5::new(10).wrapping_add(i5::new(5)), i5::new(15));
assert_eq!(i5::new(15).wrapping_add(i5::new(5)), i5::new(-12));

Trait Implementations§

source§

impl Add for i61

§

type Output = i61

The resulting type after applying the + operator.
source§

fn add(self, other: i61) -> i61

Performs the + operation. Read more
source§

impl Binary for i61

source§

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

Formats the value using the given formatter.
source§

impl<'a> BitAnd<&'a i61> for i61

§

type Output = <i61 as BitOr>::Output

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &'a i61) -> Self::Output

Performs the & operation. Read more
source§

impl<'a> BitAnd<i61> for &'a i61

§

type Output = <i61 as BitOr>::Output

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: i61) -> Self::Output

Performs the & operation. Read more
source§

impl<'a> BitAnd for &'a i61

§

type Output = <i61 as BitOr>::Output

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &'a i61) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd for i61

§

type Output = i61

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: i61) -> Self::Output

Performs the & operation. Read more
source§

impl BitAndAssign for i61

source§

fn bitand_assign(&mut self, other: i61)

Performs the &= operation. Read more
source§

impl<'a> BitOr<&'a i61> for i61

§

type Output = <i61 as BitOr>::Output

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &'a i61) -> Self::Output

Performs the | operation. Read more
source§

impl<'a> BitOr<i61> for &'a i61

§

type Output = <i61 as BitOr>::Output

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: i61) -> Self::Output

Performs the | operation. Read more
source§

impl<'a> BitOr for &'a i61

§

type Output = <i61 as BitOr>::Output

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &'a i61) -> Self::Output

Performs the | operation. Read more
source§

impl BitOr for i61

§

type Output = i61

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: i61) -> Self::Output

Performs the | operation. Read more
source§

impl BitOrAssign for i61

source§

fn bitor_assign(&mut self, other: i61)

Performs the |= operation. Read more
source§

impl<'a> BitXor<&'a i61> for i61

§

type Output = <i61 as BitOr>::Output

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &'a i61) -> Self::Output

Performs the ^ operation. Read more
source§

impl<'a> BitXor<i61> for &'a i61

§

type Output = <i61 as BitOr>::Output

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: i61) -> Self::Output

Performs the ^ operation. Read more
source§

impl<'a> BitXor for &'a i61

§

type Output = <i61 as BitOr>::Output

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &'a i61) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXor for i61

§

type Output = i61

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: i61) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXorAssign for i61

source§

fn bitxor_assign(&mut self, other: i61)

Performs the ^= operation. Read more
source§

impl Clone for i61

source§

fn clone(&self) -> i61

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 Debug for i61

source§

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

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

impl Default for i61

source§

fn default() -> i61

Returns the “default value” for a type. Read more
source§

impl Display for i61

source§

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

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

impl From<i10> for i61

source§

fn from(x: i10) -> i61

Converts to this type from the input type.
source§

impl From<i11> for i61

source§

fn from(x: i11) -> i61

Converts to this type from the input type.
source§

impl From<i12> for i61

source§

fn from(x: i12) -> i61

Converts to this type from the input type.
source§

impl From<i13> for i61

source§

fn from(x: i13) -> i61

Converts to this type from the input type.
source§

impl From<i14> for i61

source§

fn from(x: i14) -> i61

Converts to this type from the input type.
source§

impl From<i15> for i61

source§

fn from(x: i15) -> i61

Converts to this type from the input type.
source§

impl From<i16> for i61

source§

fn from(x: i16) -> i61

Converts to this type from the input type.
source§

impl From<i17> for i61

source§

fn from(x: i17) -> i61

Converts to this type from the input type.
source§

impl From<i18> for i61

source§

fn from(x: i18) -> i61

Converts to this type from the input type.
source§

impl From<i19> for i61

source§

fn from(x: i19) -> i61

Converts to this type from the input type.
source§

impl From<i2> for i61

source§

fn from(x: i2) -> i61

Converts to this type from the input type.
source§

impl From<i20> for i61

source§

fn from(x: i20) -> i61

Converts to this type from the input type.
source§

impl From<i21> for i61

source§

fn from(x: i21) -> i61

Converts to this type from the input type.
source§

impl From<i22> for i61

source§

fn from(x: i22) -> i61

Converts to this type from the input type.
source§

impl From<i23> for i61

source§

fn from(x: i23) -> i61

Converts to this type from the input type.
source§

impl From<i24> for i61

source§

fn from(x: i24) -> i61

Converts to this type from the input type.
source§

impl From<i25> for i61

source§

fn from(x: i25) -> i61

Converts to this type from the input type.
source§

impl From<i26> for i61

source§

fn from(x: i26) -> i61

Converts to this type from the input type.
source§

impl From<i27> for i61

source§

fn from(x: i27) -> i61

Converts to this type from the input type.
source§

impl From<i28> for i61

source§

fn from(x: i28) -> i61

Converts to this type from the input type.
source§

impl From<i29> for i61

source§

fn from(x: i29) -> i61

Converts to this type from the input type.
source§

impl From<i3> for i61

source§

fn from(x: i3) -> i61

Converts to this type from the input type.
source§

impl From<i30> for i61

source§

fn from(x: i30) -> i61

Converts to this type from the input type.
source§

impl From<i31> for i61

source§

fn from(x: i31) -> i61

Converts to this type from the input type.
source§

impl From<i32> for i61

source§

fn from(x: i32) -> i61

Converts to this type from the input type.
source§

impl From<i33> for i61

source§

fn from(x: i33) -> i61

Converts to this type from the input type.
source§

impl From<i34> for i61

source§

fn from(x: i34) -> i61

Converts to this type from the input type.
source§

impl From<i35> for i61

source§

fn from(x: i35) -> i61

Converts to this type from the input type.
source§

impl From<i36> for i61

source§

fn from(x: i36) -> i61

Converts to this type from the input type.
source§

impl From<i37> for i61

source§

fn from(x: i37) -> i61

Converts to this type from the input type.
source§

impl From<i38> for i61

source§

fn from(x: i38) -> i61

Converts to this type from the input type.
source§

impl From<i39> for i61

source§

fn from(x: i39) -> i61

Converts to this type from the input type.
source§

impl From<i4> for i61

source§

fn from(x: i4) -> i61

Converts to this type from the input type.
source§

impl From<i40> for i61

source§

fn from(x: i40) -> i61

Converts to this type from the input type.
source§

impl From<i41> for i61

source§

fn from(x: i41) -> i61

Converts to this type from the input type.
source§

impl From<i42> for i61

source§

fn from(x: i42) -> i61

Converts to this type from the input type.
source§

impl From<i43> for i61

source§

fn from(x: i43) -> i61

Converts to this type from the input type.
source§

impl From<i44> for i61

source§

fn from(x: i44) -> i61

Converts to this type from the input type.
source§

impl From<i45> for i61

source§

fn from(x: i45) -> i61

Converts to this type from the input type.
source§

impl From<i46> for i61

source§

fn from(x: i46) -> i61

Converts to this type from the input type.
source§

impl From<i47> for i61

source§

fn from(x: i47) -> i61

Converts to this type from the input type.
source§

impl From<i48> for i61

source§

fn from(x: i48) -> i61

Converts to this type from the input type.
source§

impl From<i49> for i61

source§

fn from(x: i49) -> i61

Converts to this type from the input type.
source§

impl From<i5> for i61

source§

fn from(x: i5) -> i61

Converts to this type from the input type.
source§

impl From<i50> for i61

source§

fn from(x: i50) -> i61

Converts to this type from the input type.
source§

impl From<i51> for i61

source§

fn from(x: i51) -> i61

Converts to this type from the input type.
source§

impl From<i52> for i61

source§

fn from(x: i52) -> i61

Converts to this type from the input type.
source§

impl From<i53> for i61

source§

fn from(x: i53) -> i61

Converts to this type from the input type.
source§

impl From<i54> for i61

source§

fn from(x: i54) -> i61

Converts to this type from the input type.
source§

impl From<i55> for i61

source§

fn from(x: i55) -> i61

Converts to this type from the input type.
source§

impl From<i56> for i61

source§

fn from(x: i56) -> i61

Converts to this type from the input type.
source§

impl From<i57> for i61

source§

fn from(x: i57) -> i61

Converts to this type from the input type.
source§

impl From<i58> for i61

source§

fn from(x: i58) -> i61

Converts to this type from the input type.
source§

impl From<i59> for i61

source§

fn from(x: i59) -> i61

Converts to this type from the input type.
source§

impl From<i6> for i61

source§

fn from(x: i6) -> i61

Converts to this type from the input type.
source§

impl From<i60> for i61

source§

fn from(x: i60) -> i61

Converts to this type from the input type.
source§

impl From<i61> for i62

source§

fn from(x: i61) -> i62

Converts to this type from the input type.
source§

impl From<i61> for i63

source§

fn from(x: i61) -> i63

Converts to this type from the input type.
source§

impl From<i61> for i64

source§

fn from(x: i61) -> i64

Converts to this type from the input type.
source§

impl From<i7> for i61

source§

fn from(x: i7) -> i61

Converts to this type from the input type.
source§

impl From<i8> for i61

source§

fn from(x: i8) -> i61

Converts to this type from the input type.
source§

impl From<i9> for i61

source§

fn from(x: i9) -> i61

Converts to this type from the input type.
source§

impl Hash for i61

source§

fn hash<H: Hasher>(&self, h: &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 LowerHex for i61

source§

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

Formats the value using the given formatter.
source§

impl<'a> Not for &'a i61

§

type Output = <i61 as Not>::Output

The resulting type after applying the ! operator.
source§

fn not(self) -> i61

Performs the unary ! operation. Read more
source§

impl Not for i61

§

type Output = i61

The resulting type after applying the ! operator.
source§

fn not(self) -> i61

Performs the unary ! operation. Read more
source§

impl Octal for i61

source§

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

Formats the value using the given formatter.
source§

impl Ord for i61

source§

fn cmp(&self, other: &i61) -> 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 + PartialOrd,

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

impl PartialEq for i61

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for i61

source§

fn partial_cmp(&self, other: &i61) -> 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

This method 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

This method 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

This method 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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl<T> Shl<T> for i61
where i64: Shl<T, Output = i64>,

§

type Output = i61

The resulting type after applying the << operator.
source§

fn shl(self, rhs: T) -> i61

Performs the << operation. Read more
source§

impl<T> ShlAssign<T> for i61
where i64: ShlAssign<T>,

source§

fn shl_assign(&mut self, rhs: T)

Performs the <<= operation. Read more
source§

impl<T> Shr<T> for i61
where i64: Shr<T, Output = i64>,

§

type Output = i61

The resulting type after applying the >> operator.
source§

fn shr(self, rhs: T) -> i61

Performs the >> operation. Read more
source§

impl<T> ShrAssign<T> for i61
where i64: ShrAssign<T>,

source§

fn shr_assign(&mut self, rhs: T)

Performs the >>= operation. Read more
source§

impl Sub for i61

§

type Output = i61

The resulting type after applying the - operator.
source§

fn sub(self, other: i61) -> i61

Performs the - operation. Read more
source§

impl TryFrom<i61> for i10

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i10, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i11

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i11, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i12

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i12, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i13

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i13, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i14

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i14, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i15

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i15, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i16

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i16, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i17

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i17, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i18

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i18, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i19

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i19, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i2

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i2, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i20

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i20, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i21

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i21, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i22

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i22, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i23

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i23, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i24

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i24, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i25

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i25, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i26

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i26, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i27

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i27, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i28

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i28, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i29

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i29, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i3

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i3, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i30

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i30, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i31

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i31, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i32

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i32, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i33

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i33, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i34

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i34, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i35

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i35, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i36

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i36, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i37

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i37, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i38

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i38, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i39

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i39, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i4

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i4, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i40

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i40, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i41

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i41, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i42

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i42, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i43

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i43, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i44

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i44, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i45

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i45, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i46

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i46, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i47

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i47, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i48

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i48, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i49

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i49, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i5

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i5, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i50

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i50, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i51

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i51, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i52

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i52, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i53

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i53, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i54

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i54, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i55

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i55, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i56

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i56, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i57

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i57, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i58

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i58, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i59

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i59, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i6

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i6, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i60

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i60, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i7

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i7, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i8

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i8, Self::Error>

Performs the conversion.
source§

impl TryFrom<i61> for i9

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i61) -> Result<i9, Self::Error>

Performs the conversion.
source§

impl TryFrom<i62> for i61

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i62) -> Result<i61, Self::Error>

Performs the conversion.
source§

impl TryFrom<i63> for i61

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i63) -> Result<i61, Self::Error>

Performs the conversion.
source§

impl TryFrom<i64> for i61

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(x: i64) -> Result<i61, Self::Error>

Performs the conversion.
source§

impl UpperHex for i61

source§

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

Formats the value using the given formatter.
source§

impl Copy for i61

source§

impl Eq for i61

Auto Trait Implementations§

§

impl Freeze for i61

§

impl RefUnwindSafe for i61

§

impl Send for i61

§

impl Sync for i61

§

impl Unpin for i61

§

impl UnwindSafe for i61

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.