#[repr(transparent)]pub struct RawSeq<'a, T: IntRepr, U>(pub Cow<'a, [T::Primitive]>, _);Expand description
Same as RawCons but for a sequence of values.
Tuple Fields§
§0: Cow<'a, [T::Primitive]>Implementations§
Trait Implementations§
Source§impl<'de, T: IntRepr<Primitive = u8>, U> MyDeserialize<'de> for RawSeq<'de, T, U>
impl<'de, T: IntRepr<Primitive = u8>, U> MyDeserialize<'de> for RawSeq<'de, T, U>
Source§impl<'a, T: Ord + IntRepr, U: Ord> Ord for RawSeq<'a, T, U>
impl<'a, T: Ord + IntRepr, U: Ord> Ord for RawSeq<'a, T, U>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a, T: PartialOrd + IntRepr, U: PartialOrd> PartialOrd for RawSeq<'a, T, U>where
T::Primitive: PartialOrd,
impl<'a, T: PartialOrd + IntRepr, U: PartialOrd> PartialOrd for RawSeq<'a, T, U>where
T::Primitive: PartialOrd,
impl<'a, T: Eq + IntRepr, U: Eq> Eq for RawSeq<'a, T, U>
impl<'a, T: IntRepr, U> StructuralPartialEq for RawSeq<'a, T, U>
Auto Trait Implementations§
impl<'a, T, U> Freeze for RawSeq<'a, T, U>
impl<'a, T, U> RefUnwindSafe for RawSeq<'a, T, U>
impl<'a, T, U> Send for RawSeq<'a, T, U>
impl<'a, T, U> Sync for RawSeq<'a, T, U>
impl<'a, T, U> Unpin for RawSeq<'a, T, U>
impl<'a, T, U> UnwindSafe for RawSeq<'a, T, U>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more