Struct P18

Source
pub struct P18<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>(pub TY);
Expand description

Type wrapper with 18 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> P18<TY, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>

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> Clone for P18<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R>

Source§

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

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> Debug for P18<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R>

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, 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> From<P18<[TY; NU], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)

Source§

fn from( P18: P18<[TY; NU], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>, ) -> 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, 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> From<P18<[TY; NU], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>> for Be<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)>
where TY: Copy + Default, Be<A>: From<[TY; AN]>, Be<B>: From<[TY; BN]>, Be<C>: From<[TY; CN]>, Be<D>: From<[TY; DN]>, Be<E>: From<[TY; EN]>, Be<F>: From<[TY; FN]>, Be<G>: From<[TY; GN]>, Be<H>: From<[TY; HN]>, Be<I>: From<[TY; IN]>, Be<J>: From<[TY; JN]>, Be<K>: From<[TY; KN]>, Be<L>: From<[TY; LN]>, Be<M>: From<[TY; MN]>, Be<N>: From<[TY; NN]>, Be<O>: From<[TY; ON]>, Be<P>: From<[TY; PN]>, Be<Q>: From<[TY; QN]>, Be<R>: From<[TY; RN]>,

Source§

fn from( data: P18<[TY; NU], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>, ) -> 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, 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> From<P18<[TY; NU], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>> for Le<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)>
where TY: Copy + Default, Le<A>: From<[TY; AN]>, Le<B>: From<[TY; BN]>, Le<C>: From<[TY; CN]>, Le<D>: From<[TY; DN]>, Le<E>: From<[TY; EN]>, Le<F>: From<[TY; FN]>, Le<G>: From<[TY; GN]>, Le<H>: From<[TY; HN]>, Le<I>: From<[TY; IN]>, Le<J>: From<[TY; JN]>, Le<K>: From<[TY; KN]>, Le<L>: From<[TY; LN]>, Le<M>: From<[TY; MN]>, Le<N>: From<[TY; NN]>, Le<O>: From<[TY; ON]>, Le<P>: From<[TY; PN]>, Le<Q>: From<[TY; QN]>, Le<R>: From<[TY; RN]>,

Source§

fn from( data: P18<[TY; NU], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>, ) -> 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> From<P18<T, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>> for Lsb<U>
where U: FromLsb<P18<T, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>>,

Source§

fn from( data: P18<T, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>, ) -> 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> From<P18<T, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>> for Msb<U>
where U: FromMsb<P18<T, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>>,

Source§

fn from( data: P18<T, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>, ) -> 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, 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> FromBeBytes<NU> for P18<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R), AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>
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>,

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, 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> FromLeBytes<NU> for P18<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R), AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>
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>,

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, 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> FromLsb<P18<TY, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)

Source§

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

Source§

impl<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, 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> FromMsb<P18<TY, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)

Source§

fn from_msb( P18: P18<TY, AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>, ) -> 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> PartialEq for P18<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R>

Source§

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

Source§

type Error = TryFromSliceError

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

fn try_from( P18: P18<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN>, ) -> 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> Eq for P18<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R>

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> StructuralPartialEq for P18<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R>

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> Freeze for P18<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R>
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> RefUnwindSafe for P18<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R>
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> Send for P18<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R>
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> Sync for P18<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R>
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> Unpin for P18<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R>
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> UnwindSafe for P18<TY, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R>
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.