Struct P21

Source
pub struct P21<TY, const A: usize, const B: usize, const C: usize, const D: usize, const E: usize, const F: usize, const G: usize, const H: usize, const I: usize, const J: usize, const K: usize, const L: usize, const M: usize, const N: usize, const O: usize, const P: usize, const Q: usize, const R: usize, const S: usize, const T: usize, const U: usize>(pub TY);
Expand description

Type wrapper with 21 const generic parameters

Tuple Fields§

§0: TY

Implementations§

Source§

impl<TY, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize, const FN: usize, const GN: usize, const HN: usize, const IN: usize, const JN: usize, const KN: usize, const LN: usize, const MN: usize, const NN: usize, const ON: usize, const PN: usize, const QN: usize, const RN: usize, const SN: usize, const TN: usize, const UN: usize> P21<TY, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>

Source

pub const SUM: usize

Trait Implementations§

Source§

impl<TY: Clone, const A: usize, const B: usize, const C: usize, const D: usize, const E: usize, const F: usize, const G: usize, const H: usize, const I: usize, const J: usize, const K: usize, const L: usize, const M: usize, const N: usize, const O: usize, const P: usize, const Q: usize, const R: usize, const S: usize, const T: usize, const U: usize> Clone for P21<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U>

Source§

fn clone( &self, ) -> P21<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U>

Returns a duplicate 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<TY: Debug, const A: usize, const B: usize, const C: usize, const D: usize, const E: usize, const F: usize, const G: usize, const H: usize, const I: usize, const J: usize, const K: usize, const L: usize, const M: usize, const N: usize, const O: usize, const P: usize, const Q: usize, const R: usize, const S: usize, const T: usize, const U: usize> Debug for P21<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U>

Source§

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

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

impl<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, const NU: usize, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize, const FN: usize, const GN: usize, const HN: usize, const IN: usize, const JN: usize, const KN: usize, const LN: usize, const MN: usize, const NN: usize, const ON: usize, const PN: usize, const QN: usize, const RN: usize, const SN: usize, const TN: usize, const UN: usize> From<P21<[TY; NU], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)

Source§

fn from( P21: P21<[TY; NU], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>, ) -> Self

Converts to this type from the input type.
Source§

impl<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, const NU: usize, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize, const FN: usize, const GN: usize, const HN: usize, const IN: usize, const JN: usize, const KN: usize, const LN: usize, const MN: usize, const NN: usize, const ON: usize, const PN: usize, const QN: usize, const RN: usize, const SN: usize, const TN: usize, const UN: usize> From<P21<[TY; NU], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>> for Be<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)>

Source§

fn from( data: P21<[TY; NU], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>, ) -> Self

Converts to this type from the input type.
Source§

impl<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, const NU: usize, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize, const FN: usize, const GN: usize, const HN: usize, const IN: usize, const JN: usize, const KN: usize, const LN: usize, const MN: usize, const NN: usize, const ON: usize, const PN: usize, const QN: usize, const RN: usize, const SN: usize, const TN: usize, const UN: usize> From<P21<[TY; NU], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>> for Le<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)>

Source§

fn from( data: P21<[TY; NU], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>, ) -> Self

Converts to this type from the input type.
Source§

impl<T, U, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize, const FN: usize, const GN: usize, const HN: usize, const IN: usize, const JN: usize, const KN: usize, const LN: usize, const MN: usize, const NN: usize, const ON: usize, const PN: usize, const QN: usize, const RN: usize, const SN: usize, const TN: usize, const UN: usize> From<P21<T, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>> for Lsb<U>
where U: FromLsb<P21<T, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>>,

Source§

fn from( data: P21<T, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>, ) -> Self

Converts to this type from the input type.
Source§

impl<T, U, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize, const FN: usize, const GN: usize, const HN: usize, const IN: usize, const JN: usize, const KN: usize, const LN: usize, const MN: usize, const NN: usize, const ON: usize, const PN: usize, const QN: usize, const RN: usize, const SN: usize, const TN: usize, const UN: usize> From<P21<T, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>> for Msb<U>
where U: FromMsb<P21<T, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>>,

Source§

fn from( data: P21<T, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>, ) -> Self

Converts to this type from the input type.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, const NU: usize, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize, const FN: usize, const GN: usize, const HN: usize, const IN: usize, const JN: usize, const KN: usize, const LN: usize, const MN: usize, const NN: usize, const ON: usize, const PN: usize, const QN: usize, const RN: usize, const SN: usize, const TN: usize, const UN: usize> FromBeBytes<NU> for P21<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U), AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>
where A: FromBeBytes<AN>, B: FromBeBytes<BN>, C: FromBeBytes<CN>, D: FromBeBytes<DN>, E: FromBeBytes<EN>, F: FromBeBytes<FN>, G: FromBeBytes<GN>, H: FromBeBytes<HN>, I: FromBeBytes<IN>, J: FromBeBytes<JN>, K: FromBeBytes<KN>, L: FromBeBytes<LN>, M: FromBeBytes<MN>, N: FromBeBytes<NN>, O: FromBeBytes<ON>, P: FromBeBytes<PN>, Q: FromBeBytes<QN>, R: FromBeBytes<RN>, S: FromBeBytes<SN>, T: FromBeBytes<TN>, U: FromBeBytes<UN>,

Source§

fn from_be_bytes(bytes: [u8; NU]) -> Self

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, const NU: usize, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize, const FN: usize, const GN: usize, const HN: usize, const IN: usize, const JN: usize, const KN: usize, const LN: usize, const MN: usize, const NN: usize, const ON: usize, const PN: usize, const QN: usize, const RN: usize, const SN: usize, const TN: usize, const UN: usize> FromLeBytes<NU> for P21<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U), AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>
where A: FromLeBytes<AN>, B: FromLeBytes<BN>, C: FromLeBytes<CN>, D: FromLeBytes<DN>, E: FromLeBytes<EN>, F: FromLeBytes<FN>, G: FromLeBytes<GN>, H: FromLeBytes<HN>, I: FromLeBytes<IN>, J: FromLeBytes<JN>, K: FromLeBytes<KN>, L: FromLeBytes<LN>, M: FromLeBytes<MN>, N: FromLeBytes<NN>, O: FromLeBytes<ON>, P: FromLeBytes<PN>, Q: FromLeBytes<QN>, R: FromLeBytes<RN>, S: FromLeBytes<SN>, T: FromLeBytes<TN>, U: FromLeBytes<UN>,

Source§

fn from_le_bytes(bytes: [u8; NU]) -> Self

Source§

impl<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize, const FN: usize, const GN: usize, const HN: usize, const IN: usize, const JN: usize, const KN: usize, const LN: usize, const MN: usize, const NN: usize, const ON: usize, const PN: usize, const QN: usize, const RN: usize, const SN: usize, const TN: usize, const UN: usize> FromLsb<P21<TY, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)

Source§

fn from_lsb( P21: P21<TY, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>, ) -> Self

Source§

impl<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize, const FN: usize, const GN: usize, const HN: usize, const IN: usize, const JN: usize, const KN: usize, const LN: usize, const MN: usize, const NN: usize, const ON: usize, const PN: usize, const QN: usize, const RN: usize, const SN: usize, const TN: usize, const UN: usize> FromMsb<P21<TY, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)

Source§

fn from_msb( P21: P21<TY, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>, ) -> Self

Source§

impl<TY: PartialEq, const A: usize, const B: usize, const C: usize, const D: usize, const E: usize, const F: usize, const G: usize, const H: usize, const I: usize, const J: usize, const K: usize, const L: usize, const M: usize, const N: usize, const O: usize, const P: usize, const Q: usize, const R: usize, const S: usize, const T: usize, const U: usize> PartialEq for P21<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U>

Source§

fn eq( &self, other: &P21<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U>, ) -> 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<'a, T, U, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize, const FN: usize, const GN: usize, const HN: usize, const IN: usize, const JN: usize, const KN: usize, const LN: usize, const MN: usize, const NN: usize, const ON: usize, const PN: usize, const QN: usize, const RN: usize, const SN: usize, const TN: usize, const UN: usize> TryFrom<P21<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

fn try_from( P21: P21<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN>, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<TY: Eq, const A: usize, const B: usize, const C: usize, const D: usize, const E: usize, const F: usize, const G: usize, const H: usize, const I: usize, const J: usize, const K: usize, const L: usize, const M: usize, const N: usize, const O: usize, const P: usize, const Q: usize, const R: usize, const S: usize, const T: usize, const U: usize> Eq for P21<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U>

Source§

impl<TY, const A: usize, const B: usize, const C: usize, const D: usize, const E: usize, const F: usize, const G: usize, const H: usize, const I: usize, const J: usize, const K: usize, const L: usize, const M: usize, const N: usize, const O: usize, const P: usize, const Q: usize, const R: usize, const S: usize, const T: usize, const U: usize> StructuralPartialEq for P21<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U>

Auto Trait Implementations§

§

impl<TY, const A: usize, const B: usize, const C: usize, const D: usize, const E: usize, const F: usize, const G: usize, const H: usize, const I: usize, const J: usize, const K: usize, const L: usize, const M: usize, const N: usize, const O: usize, const P: usize, const Q: usize, const R: usize, const S: usize, const T: usize, const U: usize> Freeze for P21<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U>
where TY: Freeze,

§

impl<TY, const A: usize, const B: usize, const C: usize, const D: usize, const E: usize, const F: usize, const G: usize, const H: usize, const I: usize, const J: usize, const K: usize, const L: usize, const M: usize, const N: usize, const O: usize, const P: usize, const Q: usize, const R: usize, const S: usize, const T: usize, const U: usize> RefUnwindSafe for P21<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U>
where TY: RefUnwindSafe,

§

impl<TY, const A: usize, const B: usize, const C: usize, const D: usize, const E: usize, const F: usize, const G: usize, const H: usize, const I: usize, const J: usize, const K: usize, const L: usize, const M: usize, const N: usize, const O: usize, const P: usize, const Q: usize, const R: usize, const S: usize, const T: usize, const U: usize> Send for P21<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U>
where TY: Send,

§

impl<TY, const A: usize, const B: usize, const C: usize, const D: usize, const E: usize, const F: usize, const G: usize, const H: usize, const I: usize, const J: usize, const K: usize, const L: usize, const M: usize, const N: usize, const O: usize, const P: usize, const Q: usize, const R: usize, const S: usize, const T: usize, const U: usize> Sync for P21<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U>
where TY: Sync,

§

impl<TY, const A: usize, const B: usize, const C: usize, const D: usize, const E: usize, const F: usize, const G: usize, const H: usize, const I: usize, const J: usize, const K: usize, const L: usize, const M: usize, const N: usize, const O: usize, const P: usize, const Q: usize, const R: usize, const S: usize, const T: usize, const U: usize> Unpin for P21<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U>
where TY: Unpin,

§

impl<TY, const A: usize, const B: usize, const C: usize, const D: usize, const E: usize, const F: usize, const G: usize, const H: usize, const I: usize, const J: usize, const K: usize, const L: usize, const M: usize, const N: usize, const O: usize, const P: usize, const Q: usize, const R: usize, const S: usize, const T: usize, const U: usize> UnwindSafe for P21<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U>
where TY: UnwindSafe,

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> AsPrimitive<()> for T

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, U> LsbInto<U> for T
where U: FromLsb<T>,

Source§

fn lsb_into(self) -> U

Source§

impl<T, U> MsbInto<U> for T
where U: FromMsb<T>,

Source§

fn msb_into(self) -> U

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, const N: usize> TryFromBeBytes<N> for T
where T: FromBeBytes<N>,

Source§

impl<T, const N: usize> TryFromLeBytes<N> for T
where T: FromLeBytes<N>,

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.