Lines Matching defs:via_into_bytes
63 /// packet.split_at_mut(1).unwrap().via_into_bytes();
258 /// let (packet, rest) = split.via_into_bytes();
332 /// not overlap. Use [`Self::via_into_bytes`] or
466 /// let (packet, rest) = split.via_into_bytes();
478 pub fn via_into_bytes(self) -> (&'a T, &'a [T::Elem])
482 let (l, r) = self.into_ptr().via_into_bytes();
502 /// When possible, you should prefer using [`Self::via_into_bytes`], which
509 /// precluding the use of [`Self::via_into_bytes`].
578 /// prefer using [`Self::via_immutable`], [`Self::via_into_bytes`], or
731 /// let (packet, rest) = split.via_into_bytes();
749 pub fn via_into_bytes(self) -> (&'a mut T, &'a mut [T::Elem])
753 let (l, r) = self.into_ptr().via_into_bytes();
773 /// When possible, you should prefer using [`Self::via_into_bytes`], which
780 /// precluding the use of [`Self::via_into_bytes`].
853 /// prefer using [`Self::via_into_bytes`] or
976 fn via_into_bytes(self) -> (Ptr<'a, T, I>, Ptr<'a, [T::Elem], I>)
1022 /// prefer using [`Self::via_immutable`], [`Self::via_into_bytes`], or
1153 let (_, right) = packet.split_at(i).unwrap().via_into_bytes();
1394 let (l, r) = split2.via_into_bytes();