Struct Seq

Source
pub struct Seq<H, T> {
    pub head: H,
    pub tail: T,
}
Expand description

Sequence of elements with head and tail

Fields§

§head: H§tail: T

Trait Implementations§

Source§

impl<H: Clone, T: Clone> Clone for Seq<H, T>

Source§

fn clone(&self) -> Seq<H, T>

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<H: Debug, T: Debug> Debug for Seq<H, T>

Source§

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

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

impl<H: PartialEq, T: PartialEq> PartialEq for Seq<H, T>

Source§

fn eq(&self, other: &Seq<H, T>) -> 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, const N: usize> TryFrom<&'a [T]> for Seq<[T; N], &'a [T]>
where T: Copy,

Fallible conversion from slice to array

In contrast with std TryFrom<&'_ [T]> for [T; N] this implementation return array and slice tail on any slice that longer than array

let bytes = [1u8, 2, 2, 3, 3, 3, 3];
let seq: Seq<[_; 3], _> = bytes[..].try_into().unwrap();
assert_eq!(Seq { head: [1, 2, 2], tail: [3, 3, 3, 3].as_slice() }, seq);
Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, const AN: usize> TryFrom<&'a [T]> for Seq<T1<[T; AN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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> TryFrom<&'a [T]> for Seq<T10<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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> TryFrom<&'a [T]> for Seq<T11<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN], [T; KN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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> TryFrom<&'a [T]> for Seq<T12<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN], [T; KN], [T; LN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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> TryFrom<&'a [T]> for Seq<T13<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN], [T; KN], [T; LN], [T; MN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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> TryFrom<&'a [T]> for Seq<T14<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN], [T; KN], [T; LN], [T; MN], [T; NN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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> TryFrom<&'a [T]> for Seq<T15<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN], [T; KN], [T; LN], [T; MN], [T; NN], [T; ON]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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> TryFrom<&'a [T]> for Seq<T16<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN], [T; KN], [T; LN], [T; MN], [T; NN], [T; ON], [T; PN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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> TryFrom<&'a [T]> for Seq<T17<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN], [T; KN], [T; LN], [T; MN], [T; NN], [T; ON], [T; PN], [T; QN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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<&'a [T]> for Seq<T18<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN], [T; KN], [T; LN], [T; MN], [T; NN], [T; ON], [T; PN], [T; QN], [T; RN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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> TryFrom<&'a [T]> for Seq<T19<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN], [T; KN], [T; LN], [T; MN], [T; NN], [T; ON], [T; PN], [T; QN], [T; RN], [T; SN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, const AN: usize, const BN: usize> TryFrom<&'a [T]> for Seq<T2<[T; AN], [T; BN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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> TryFrom<&'a [T]> for Seq<T20<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN], [T; KN], [T; LN], [T; MN], [T; NN], [T; ON], [T; PN], [T; QN], [T; RN], [T; SN], [T; TN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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<&'a [T]> for Seq<T21<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN], [T; KN], [T; LN], [T; MN], [T; NN], [T; ON], [T; PN], [T; QN], [T; RN], [T; SN], [T; TN], [T; UN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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, const VN: usize> TryFrom<&'a [T]> for Seq<T22<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN], [T; KN], [T; LN], [T; MN], [T; NN], [T; ON], [T; PN], [T; QN], [T; RN], [T; SN], [T; TN], [T; UN], [T; VN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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, const VN: usize, const WN: usize> TryFrom<&'a [T]> for Seq<T23<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN], [T; KN], [T; LN], [T; MN], [T; NN], [T; ON], [T; PN], [T; QN], [T; RN], [T; SN], [T; TN], [T; UN], [T; VN], [T; WN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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, const VN: usize, const WN: usize, const XN: usize> TryFrom<&'a [T]> for Seq<T24<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN], [T; KN], [T; LN], [T; MN], [T; NN], [T; ON], [T; PN], [T; QN], [T; RN], [T; SN], [T; TN], [T; UN], [T; VN], [T; WN], [T; XN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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, const VN: usize, const WN: usize, const XN: usize, const YN: usize> TryFrom<&'a [T]> for Seq<T25<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN], [T; KN], [T; LN], [T; MN], [T; NN], [T; ON], [T; PN], [T; QN], [T; RN], [T; SN], [T; TN], [T; UN], [T; VN], [T; WN], [T; XN], [T; YN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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, const VN: usize, const WN: usize, const XN: usize, const YN: usize, const ZN: usize> TryFrom<&'a [T]> for Seq<T26<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN], [T; JN], [T; KN], [T; LN], [T; MN], [T; NN], [T; ON], [T; PN], [T; QN], [T; RN], [T; SN], [T; TN], [T; UN], [T; VN], [T; WN], [T; XN], [T; YN], [T; ZN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, const AN: usize, const BN: usize, const CN: usize> TryFrom<&'a [T]> for Seq<T3<[T; AN], [T; BN], [T; CN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, const AN: usize, const BN: usize, const CN: usize, const DN: usize> TryFrom<&'a [T]> for Seq<T4<[T; AN], [T; BN], [T; CN], [T; DN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize> TryFrom<&'a [T]> for Seq<T5<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize, const FN: usize> TryFrom<&'a [T]> for Seq<T6<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize, const FN: usize, const GN: usize> TryFrom<&'a [T]> for Seq<T7<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize, const FN: usize, const GN: usize, const HN: usize> TryFrom<&'a [T]> for Seq<T8<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, 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> TryFrom<&'a [T]> for Seq<T9<[T; AN], [T; BN], [T; CN], [T; DN], [T; EN], [T; FN], [T; GN], [T; HN], [T; IN]>, &'a [T]>
where T: Copy,

Source§

type Error = TryFromSliceError

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

fn try_from(slice: &'a [T]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, U, const AN: usize> TryFrom<P1<&'a [T], AN>> for Seq<U, &'a [T]>
where T: Copy, U: From<T1<[T; AN]>>,

Source§

type Error = TryFromSliceError

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

fn try_from(P1: P1<&'a [T], AN>) -> Result<Self, Self::Error>

Performs the conversion.
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> TryFrom<P10<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

fn try_from( P10: P10<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN>, ) -> Result<Self, Self::Error>

Performs the conversion.
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> TryFrom<P11<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

fn try_from( P11: P11<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN>, ) -> Result<Self, Self::Error>

Performs the conversion.
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> TryFrom<P12<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

fn try_from( P12: P12<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN>, ) -> Result<Self, Self::Error>

Performs the conversion.
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> TryFrom<P13<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

fn try_from( P13: P13<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN>, ) -> Result<Self, Self::Error>

Performs the conversion.
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> TryFrom<P14<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

fn try_from( P14: P14<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN>, ) -> Result<Self, Self::Error>

Performs the conversion.
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> TryFrom<P15<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

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

Performs the conversion.
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> TryFrom<P16<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

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

Performs the conversion.
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> TryFrom<P17<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

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

Performs the conversion.
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<'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> TryFrom<P19<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

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

Performs the conversion.
Source§

impl<'a, T, U, const AN: usize, const BN: usize> TryFrom<P2<&'a [T], AN, BN>> for Seq<U, &'a [T]>
where T: Copy, U: From<T2<[T; AN], [T; BN]>>,

Source§

type Error = TryFromSliceError

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

fn try_from(P2: P2<&'a [T], AN, BN>) -> Result<Self, Self::Error>

Performs the conversion.
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> TryFrom<P20<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

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

Performs the conversion.
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<'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, const VN: usize> TryFrom<P22<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN, VN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

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

Performs the conversion.
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, const VN: usize, const WN: usize> TryFrom<P23<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN, VN, WN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

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

Performs the conversion.
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, const VN: usize, const WN: usize, const XN: usize> TryFrom<P24<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN, VN, WN, XN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

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

Performs the conversion.
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, const VN: usize, const WN: usize, const XN: usize, const YN: usize> TryFrom<P25<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN, VN, WN, XN, YN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

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

Performs the conversion.
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, const VN: usize, const WN: usize, const XN: usize, const YN: usize, const ZN: usize> TryFrom<P26<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN, JN, KN, LN, MN, NN, ON, PN, QN, RN, SN, TN, UN, VN, WN, XN, YN, ZN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

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

Performs the conversion.
Source§

impl<'a, T, U, const AN: usize, const BN: usize, const CN: usize> TryFrom<P3<&'a [T], AN, BN, CN>> for Seq<U, &'a [T]>
where T: Copy, U: From<T3<[T; AN], [T; BN], [T; CN]>>,

Source§

type Error = TryFromSliceError

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

fn try_from(P3: P3<&'a [T], AN, BN, CN>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, U, const AN: usize, const BN: usize, const CN: usize, const DN: usize> TryFrom<P4<&'a [T], AN, BN, CN, DN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

fn try_from(P4: P4<&'a [T], AN, BN, CN, DN>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, U, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize> TryFrom<P5<&'a [T], AN, BN, CN, DN, EN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

fn try_from(P5: P5<&'a [T], AN, BN, CN, DN, EN>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a, T, U, const AN: usize, const BN: usize, const CN: usize, const DN: usize, const EN: usize, const FN: usize> TryFrom<P6<&'a [T], AN, BN, CN, DN, EN, FN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

fn try_from( P6: P6<&'a [T], AN, BN, CN, DN, EN, FN>, ) -> Result<Self, Self::Error>

Performs the conversion.
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> TryFrom<P7<&'a [T], AN, BN, CN, DN, EN, FN, GN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

fn try_from( P7: P7<&'a [T], AN, BN, CN, DN, EN, FN, GN>, ) -> Result<Self, Self::Error>

Performs the conversion.
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> TryFrom<P8<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

fn try_from( P8: P8<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN>, ) -> Result<Self, Self::Error>

Performs the conversion.
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> TryFrom<P9<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN>> for Seq<U, &'a [T]>

Source§

type Error = TryFromSliceError

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

fn try_from( P9: P9<&'a [T], AN, BN, CN, DN, EN, FN, GN, HN, IN>, ) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<H: Eq, T: Eq> Eq for Seq<H, T>

Source§

impl<H, T> StructuralPartialEq for Seq<H, T>

Auto Trait Implementations§

§

impl<H, T> Freeze for Seq<H, T>
where H: Freeze, T: Freeze,

§

impl<H, T> RefUnwindSafe for Seq<H, T>

§

impl<H, T> Send for Seq<H, T>
where H: Send, T: Send,

§

impl<H, T> Sync for Seq<H, T>
where H: Sync, T: Sync,

§

impl<H, T> Unpin for Seq<H, T>
where H: Unpin, T: Unpin,

§

impl<H, T> UnwindSafe for Seq<H, T>
where H: UnwindSafe, T: 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, 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.