Struct ux::i29

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

The 29-bit signed integer type.

Implementations§

source§

impl i29

The 29-bit signed integer type.

source

pub const MAX: Self = _

source

pub const MIN: Self = _

source

pub const BITS: u32 = 29u32

source§

impl i29

source

pub fn min_value() -> i29

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

source

pub fn max_value() -> i29

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

source

pub const fn new(value: i32) -> i29

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 i29

§

type Output = i29

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl Binary for i29

source§

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

Formats the value using the given formatter.
source§

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

§

type Output = <i29 as BitOr>::Output

The resulting type after applying the & operator.
source§

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

Performs the & operation. Read more
source§

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

§

type Output = <i29 as BitOr>::Output

The resulting type after applying the & operator.
source§

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

Performs the & operation. Read more
source§

impl<'a> BitAnd for &'a i29

§

type Output = <i29 as BitOr>::Output

The resulting type after applying the & operator.
source§

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

Performs the & operation. Read more
source§

impl BitAnd for i29

§

type Output = i29

The resulting type after applying the & operator.
source§

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

Performs the & operation. Read more
source§

impl BitAndAssign for i29

source§

fn bitand_assign(&mut self, other: i29)

Performs the &= operation. Read more
source§

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

§

type Output = <i29 as BitOr>::Output

The resulting type after applying the | operator.
source§

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

Performs the | operation. Read more
source§

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

§

type Output = <i29 as BitOr>::Output

The resulting type after applying the | operator.
source§

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

Performs the | operation. Read more
source§

impl<'a> BitOr for &'a i29

§

type Output = <i29 as BitOr>::Output

The resulting type after applying the | operator.
source§

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

Performs the | operation. Read more
source§

impl BitOr for i29

§

type Output = i29

The resulting type after applying the | operator.
source§

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

Performs the | operation. Read more
source§

impl BitOrAssign for i29

source§

fn bitor_assign(&mut self, other: i29)

Performs the |= operation. Read more
source§

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

§

type Output = <i29 as BitOr>::Output

The resulting type after applying the ^ operator.
source§

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

Performs the ^ operation. Read more
source§

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

§

type Output = <i29 as BitOr>::Output

The resulting type after applying the ^ operator.
source§

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

Performs the ^ operation. Read more
source§

impl<'a> BitXor for &'a i29

§

type Output = <i29 as BitOr>::Output

The resulting type after applying the ^ operator.
source§

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

Performs the ^ operation. Read more
source§

impl BitXor for i29

§

type Output = i29

The resulting type after applying the ^ operator.
source§

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

Performs the ^ operation. Read more
source§

impl BitXorAssign for i29

source§

fn bitxor_assign(&mut self, other: i29)

Performs the ^= operation. Read more
source§

impl Clone for i29

source§

fn clone(&self) -> i29

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 i29

source§

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

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

impl Default for i29

source§

fn default() -> i29

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

impl Display for i29

source§

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

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

impl From<i10> for i29

source§

fn from(x: i10) -> i29

Converts to this type from the input type.
source§

impl From<i11> for i29

source§

fn from(x: i11) -> i29

Converts to this type from the input type.
source§

impl From<i12> for i29

source§

fn from(x: i12) -> i29

Converts to this type from the input type.
source§

impl From<i13> for i29

source§

fn from(x: i13) -> i29

Converts to this type from the input type.
source§

impl From<i14> for i29

source§

fn from(x: i14) -> i29

Converts to this type from the input type.
source§

impl From<i15> for i29

source§

fn from(x: i15) -> i29

Converts to this type from the input type.
source§

impl From<i16> for i29

source§

fn from(x: i16) -> i29

Converts to this type from the input type.
source§

impl From<i17> for i29

source§

fn from(x: i17) -> i29

Converts to this type from the input type.
source§

impl From<i18> for i29

source§

fn from(x: i18) -> i29

Converts to this type from the input type.
source§

impl From<i19> for i29

source§

fn from(x: i19) -> i29

Converts to this type from the input type.
source§

impl From<i2> for i29

source§

fn from(x: i2) -> i29

Converts to this type from the input type.
source§

impl From<i20> for i29

source§

fn from(x: i20) -> i29

Converts to this type from the input type.
source§

impl From<i21> for i29

source§

fn from(x: i21) -> i29

Converts to this type from the input type.
source§

impl From<i22> for i29

source§

fn from(x: i22) -> i29

Converts to this type from the input type.
source§

impl From<i23> for i29

source§

fn from(x: i23) -> i29

Converts to this type from the input type.
source§

impl From<i24> for i29

source§

fn from(x: i24) -> i29

Converts to this type from the input type.
source§

impl From<i25> for i29

source§

fn from(x: i25) -> i29

Converts to this type from the input type.
source§

impl From<i26> for i29

source§

fn from(x: i26) -> i29

Converts to this type from the input type.
source§

impl From<i27> for i29

source§

fn from(x: i27) -> i29

Converts to this type from the input type.
source§

impl From<i28> for i29

source§

fn from(x: i28) -> i29

Converts to this type from the input type.
source§

impl From<i29> for i30

source§

fn from(x: i29) -> i30

Converts to this type from the input type.
source§

impl From<i29> for i31

source§

fn from(x: i29) -> i31

Converts to this type from the input type.
source§

impl From<i29> for i32

source§

fn from(x: i29) -> i32

Converts to this type from the input type.
source§

impl From<i29> for i33

source§

fn from(x: i29) -> i33

Converts to this type from the input type.
source§

impl From<i29> for i34

source§

fn from(x: i29) -> i34

Converts to this type from the input type.
source§

impl From<i29> for i35

source§

fn from(x: i29) -> i35

Converts to this type from the input type.
source§

impl From<i29> for i36

source§

fn from(x: i29) -> i36

Converts to this type from the input type.
source§

impl From<i29> for i37

source§

fn from(x: i29) -> i37

Converts to this type from the input type.
source§

impl From<i29> for i38

source§

fn from(x: i29) -> i38

Converts to this type from the input type.
source§

impl From<i29> for i39

source§

fn from(x: i29) -> i39

Converts to this type from the input type.
source§

impl From<i29> for i40

source§

fn from(x: i29) -> i40

Converts to this type from the input type.
source§

impl From<i29> for i41

source§

fn from(x: i29) -> i41

Converts to this type from the input type.
source§

impl From<i29> for i42

source§

fn from(x: i29) -> i42

Converts to this type from the input type.
source§

impl From<i29> for i43

source§

fn from(x: i29) -> i43

Converts to this type from the input type.
source§

impl From<i29> for i44

source§

fn from(x: i29) -> i44

Converts to this type from the input type.
source§

impl From<i29> for i45

source§

fn from(x: i29) -> i45

Converts to this type from the input type.
source§

impl From<i29> for i46

source§

fn from(x: i29) -> i46

Converts to this type from the input type.
source§

impl From<i29> for i47

source§

fn from(x: i29) -> i47

Converts to this type from the input type.
source§

impl From<i29> for i48

source§

fn from(x: i29) -> i48

Converts to this type from the input type.
source§

impl From<i29> for i49

source§

fn from(x: i29) -> i49

Converts to this type from the input type.
source§

impl From<i29> for i50

source§

fn from(x: i29) -> i50

Converts to this type from the input type.
source§

impl From<i29> for i51

source§

fn from(x: i29) -> i51

Converts to this type from the input type.
source§

impl From<i29> for i52

source§

fn from(x: i29) -> i52

Converts to this type from the input type.
source§

impl From<i29> for i53

source§

fn from(x: i29) -> i53

Converts to this type from the input type.
source§

impl From<i29> for i54

source§

fn from(x: i29) -> i54

Converts to this type from the input type.
source§

impl From<i29> for i55

source§

fn from(x: i29) -> i55

Converts to this type from the input type.
source§

impl From<i29> for i56

source§

fn from(x: i29) -> i56

Converts to this type from the input type.
source§

impl From<i29> for i57

source§

fn from(x: i29) -> i57

Converts to this type from the input type.
source§

impl From<i29> for i58

source§

fn from(x: i29) -> i58

Converts to this type from the input type.
source§

impl From<i29> for i59

source§

fn from(x: i29) -> i59

Converts to this type from the input type.
source§

impl From<i29> for i60

source§

fn from(x: i29) -> i60

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<i29> for i62

source§

fn from(x: i29) -> i62

Converts to this type from the input type.
source§

impl From<i29> for i63

source§

fn from(x: i29) -> i63

Converts to this type from the input type.
source§

impl From<i29> for i64

source§

fn from(x: i29) -> i64

Converts to this type from the input type.
source§

impl From<i3> for i29

source§

fn from(x: i3) -> i29

Converts to this type from the input type.
source§

impl From<i4> for i29

source§

fn from(x: i4) -> i29

Converts to this type from the input type.
source§

impl From<i5> for i29

source§

fn from(x: i5) -> i29

Converts to this type from the input type.
source§

impl From<i6> for i29

source§

fn from(x: i6) -> i29

Converts to this type from the input type.
source§

impl From<i7> for i29

source§

fn from(x: i7) -> i29

Converts to this type from the input type.
source§

impl From<i8> for i29

source§

fn from(x: i8) -> i29

Converts to this type from the input type.
source§

impl From<i9> for i29

source§

fn from(x: i9) -> i29

Converts to this type from the input type.
source§

impl Hash for i29

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 i29

source§

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

Formats the value using the given formatter.
source§

impl<'a> Not for &'a i29

§

type Output = <i29 as Not>::Output

The resulting type after applying the ! operator.
source§

fn not(self) -> i29

Performs the unary ! operation. Read more
source§

impl Not for i29

§

type Output = i29

The resulting type after applying the ! operator.
source§

fn not(self) -> i29

Performs the unary ! operation. Read more
source§

impl Octal for i29

source§

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

Formats the value using the given formatter.
source§

impl Ord for i29

source§

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

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 i29

source§

fn partial_cmp(&self, other: &i29) -> 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 i29
where i32: Shl<T, Output = i32>,

§

type Output = i29

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

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

Performs the << operation. Read more
source§

impl<T> ShlAssign<T> for i29
where i32: ShlAssign<T>,

source§

fn shl_assign(&mut self, rhs: T)

Performs the <<= operation. Read more
source§

impl<T> Shr<T> for i29
where i32: Shr<T, Output = i32>,

§

type Output = i29

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

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

Performs the >> operation. Read more
source§

impl<T> ShrAssign<T> for i29
where i32: ShrAssign<T>,

source§

fn shr_assign(&mut self, rhs: T)

Performs the >>= operation. Read more
source§

impl Sub for i29

§

type Output = i29

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl TryFrom<i29> for i10

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i11

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i12

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i13

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i14

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i15

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i16

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i17

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i18

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i19

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i2

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i20

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i21

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i22

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i23

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i24

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i25

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i26

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i27

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i28

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i3

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i4

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i5

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i6

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i7

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i8

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i29> for i9

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i30> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i31> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i32> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i33> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i34> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i35> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i36> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i37> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i38> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i39> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i40> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i41> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i42> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i43> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i44> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i45> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i46> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i47> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i48> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i49> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i50> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i51> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i52> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i53> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i54> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i55> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i56> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i57> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i58> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i59> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i60> for i29

§

type Error = TryFromIntError

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

fn try_from(x: i60) -> Result<i29, 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<i62> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i63> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl TryFrom<i64> for i29

§

type Error = TryFromIntError

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

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

Performs the conversion.
source§

impl UpperHex for i29

source§

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

Formats the value using the given formatter.
source§

impl Copy for i29

source§

impl Eq for i29

Auto Trait Implementations§

§

impl Freeze for i29

§

impl RefUnwindSafe for i29

§

impl Send for i29

§

impl Sync for i29

§

impl Unpin for i29

§

impl UnwindSafe for i29

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.