/// An iterator adaptor that yields the preceding iterator in pairs.
///
/// Similar to the [`windows`] method on [`slices`], but with owned elements.
///
/// The first element of the preceding iterator is yielded unchanged.
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// use rs3cache::utils::adapters::Pairwisor;
///
/// let mut iter = (0..6).pairwise();
///
/// assert_eq!(iter.next(), Some((0, 1)));
/// assert_eq!(iter.next(), Some((1, 2)));
/// assert_eq!(iter.next(), Some((2, 3)));
/// assert_eq!(iter.next(), Some((3, 4)));
/// assert_eq!(iter.next(), Some((4, 5)));
/// assert_eq!(iter.next(), None);
/// ```
///
/// [`windows`]: ../../std/primitive.slice.html#method.windows
/// [`slices`]: ../../std/primitive.slice.html
An iterator adaptor that yields the preceding iterator in pairs.
Similar to the [`windows`] method on [`slices`], but with owned elements.

The first element of the preceding iterator is yielded unchanged.
An iterator adaptor that yields the preceding iterator in pairs . Similar to the [ ` windows ` ] method on [ ` slices ` ] but with owned elements . The first element of the preceding iterator is yielded unchanged .
fn pairwise(self) -> Pairwise<Self>
    where
        Self::Item: Copy,
        Self: Sized,
        Self: Iterator,
    {
        Pairwise {
            state: None,
            underlying_iterator: self,
        }
    }
fn pairwise ( self ) -> Pairwise < Self > where Self :: Item : Copy , Self : Sized , Self : Iterator , { Pairwise { state : None , underlying_iterator : self , } }
An iterator adaptor that yields the preceding iterator in pairs.
An iterator adaptor that yields the preceding iterator in pairs .
self
examples
Basic usage.

```
use rs3cache::utils::adapters::Pairwisor.





[`windows`]: ../../std/primitive.slice.html#method.windows
[`slices`]: ../../std/primitive.slice.html
Basic usage . ` ` ` use rs3cache :: utils :: adapters :: Pairwisor . [ ` windows ` ] : .. / .. / std / primitive . slice . html#method . windows [ ` slices ` ] : .. / .. / std / primitive . slice . html