Struct _2

Source
pub struct _2;
Expand description

This denotes the number 2

Trait Implementations§

Source§

impl Clone for _2

Source§

fn clone(&self) -> _2

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for _2

Source§

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

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

impl Hex for _2

Source§

const NUMBER: u32 = 2u32

Source§

impl HexAdd<_0> for _2

Source§

impl HexAdd<_1> for _2

Source§

impl HexAdd<_2> for _0

Source§

impl HexAdd<_2> for _1

Source§

impl HexAdd<_2> for _2

Source§

impl HexAdd<_2> for _3

Source§

impl HexAdd<_2> for _4

Source§

impl HexAdd<_2> for _5

Source§

impl HexAdd<_2> for _6

Source§

impl HexAdd<_2> for _7

Source§

impl HexAdd<_2> for _8

Source§

impl HexAdd<_2> for _9

Source§

impl HexAdd<_2> for _A

Source§

impl HexAdd<_2> for _B

Source§

impl HexAdd<_2> for _C

Source§

impl HexAdd<_2> for _D

Source§

impl HexAdd<_2> for _E

Source§

impl HexAdd<_2> for _F

Source§

impl HexAdd<_3> for _2

Source§

impl HexAdd<_4> for _2

Source§

impl HexAdd<_5> for _2

Source§

impl HexAdd<_6> for _2

Source§

impl HexAdd<_7> for _2

Source§

impl HexAdd<_8> for _2

Source§

impl HexAdd<_9> for _2

Source§

impl HexAdd<_A> for _2

Source§

impl HexAdd<_B> for _2

Source§

impl HexAdd<_C> for _2

Source§

impl HexAdd<_D> for _2

Source§

impl HexAdd<_E> for _2

Source§

impl HexAdd<_F> for _2

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_0, H> for _2
where H: HexAdd<_2, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_1, H> for _2
where H: HexAdd<_3, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_2, H> for _0
where H: HexAdd<_2, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_2, H> for _1
where H: HexAdd<_3, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_2, H> for _2
where H: HexAdd<_4, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_2, H> for _3
where H: HexAdd<_5, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_2, H> for _4
where H: HexAdd<_6, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_2, H> for _5
where H: HexAdd<_7, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_2, H> for _6
where H: HexAdd<_8, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_2, H> for _7
where H: HexAdd<_9, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_2, H> for _8
where H: HexAdd<_A, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_2, H> for _9
where H: HexAdd<_B, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_2, H> for _A
where H: HexAdd<_C, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_2, H> for _B
where H: HexAdd<_D, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_2, H> for _C
where H: HexAdd<_E, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_2, H> for _D
where H: HexAdd<_F, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_2, H> for _E
where H: HexAdd<_0, Output = R, Carry = C0> + Hex, C0: HexAdd<_1, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_2, H> for _F
where H: HexAdd<_1, Output = R, Carry = C0> + Hex, C0: HexAdd<_1, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_3, H> for _2
where H: HexAdd<_5, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_4, H> for _2
where H: HexAdd<_6, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_5, H> for _2
where H: HexAdd<_7, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_6, H> for _2
where H: HexAdd<_8, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_7, H> for _2
where H: HexAdd<_9, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_8, H> for _2
where H: HexAdd<_A, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_9, H> for _2
where H: HexAdd<_B, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_A, H> for _2
where H: HexAdd<_C, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_B, H> for _2
where H: HexAdd<_D, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_C, H> for _2
where H: HexAdd<_E, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_D, H> for _2
where H: HexAdd<_F, Output = R, Carry = C0> + Hex, C0: HexAdd<_0, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_E, H> for _2
where H: HexAdd<_0, Output = R, Carry = C0> + Hex, C0: HexAdd<_1, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl<H, R: Hex, C0, Cr: Hex, C_> HexAdd3<_F, H> for _2
where H: HexAdd<_1, Output = R, Carry = C0> + Hex, C0: HexAdd<_1, Output = Cr, Carry = C_> + Hex, C_: HexAssertEqual<_0> + Hex,

Source§

type Output = R

Source§

type Carry = Cr

Source§

impl HexEqual<_0> for _2

Source§

impl HexEqual<_1> for _2

Source§

impl HexEqual<_2> for _0

Source§

impl HexEqual<_2> for _1

Source§

impl HexEqual<_2> for _2

Source§

impl HexEqual<_2> for _3

Source§

impl HexEqual<_2> for _4

Source§

impl HexEqual<_2> for _5

Source§

impl HexEqual<_2> for _6

Source§

impl HexEqual<_2> for _7

Source§

impl HexEqual<_2> for _8

Source§

impl HexEqual<_2> for _9

Source§

impl HexEqual<_2> for _A

Source§

impl HexEqual<_2> for _B

Source§

impl HexEqual<_2> for _C

Source§

impl HexEqual<_2> for _D

Source§

impl HexEqual<_2> for _E

Source§

impl HexEqual<_2> for _F

Source§

impl HexEqual<_3> for _2

Source§

impl HexEqual<_4> for _2

Source§

impl HexEqual<_5> for _2

Source§

impl HexEqual<_6> for _2

Source§

impl HexEqual<_7> for _2

Source§

impl HexEqual<_8> for _2

Source§

impl HexEqual<_9> for _2

Source§

impl HexEqual<_A> for _2

Source§

impl HexEqual<_B> for _2

Source§

impl HexEqual<_C> for _2

Source§

impl HexEqual<_D> for _2

Source§

impl HexEqual<_E> for _2

Source§

impl HexEqual<_F> for _2

Source§

impl HexMul<_0> for _2

Source§

impl HexMul<_1> for _2

Source§

impl HexMul<_2> for _0

Source§

impl HexMul<_2> for _1

Source§

impl HexMul<_2> for _2

Source§

impl HexMul<_2> for _3

Source§

impl HexMul<_2> for _4

Source§

impl HexMul<_2> for _5

Source§

impl HexMul<_2> for _6

Source§

impl HexMul<_2> for _7

Source§

impl HexMul<_2> for _8

Source§

impl HexMul<_2> for _9

Source§

impl HexMul<_2> for _A

Source§

impl HexMul<_2> for _B

Source§

impl HexMul<_2> for _C

Source§

impl HexMul<_2> for _D

Source§

impl HexMul<_2> for _E

Source§

impl HexMul<_2> for _F

Source§

impl HexMul<_3> for _2

Source§

impl HexMul<_4> for _2

Source§

impl HexMul<_5> for _2

Source§

impl HexMul<_6> for _2

Source§

impl HexMul<_7> for _2

Source§

impl HexMul<_8> for _2

Source§

impl HexMul<_9> for _2

Source§

impl HexMul<_A> for _2

Source§

impl HexMul<_B> for _2

Source§

impl HexMul<_C> for _2

Source§

impl HexMul<_D> for _2

Source§

impl HexMul<_E> for _2

Source§

impl HexMul<_F> for _2

Source§

impl Copy for _2

Source§

impl HexAssertEqual<_2> for _2

Auto Trait Implementations§

§

impl Freeze for _2

§

impl RefUnwindSafe for _2

§

impl Send for _2

§

impl Sync for _2

§

impl Unpin for _2

§

impl UnwindSafe for _2

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

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>,

Source§

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.