fn to_vec(&self) -> Vec<Self::Item> {
        let mut vec = Vec::with_capacity(self.len() as usize);

        let mut i = 0;

        while let Some(item) = self.get(i) {
            vec.push(item);

            i += 1;
        }

        vec
    }
/// Returns a [Vec] in linear memory where each element in the sequence has been copied into the
/// [Vec] in sequence order.
///
/// Note that especially for long sequences, [to_host_array] may offer significantly better
/// performance.
Returns a [Vec] in linear memory where each element in the sequence has been copied into the
[Vec] in sequence order.

Note that especially for long sequences, [to_host_array] may offer significantly better
performance.
Returns a [ Vec ] in linear memory where each element in the sequence has been copied into the [ Vec ] in sequence order . Note that especially for long sequences [ to_host_array ] may offer significantly better performance .
fn to_vec(&self) -> Vec<Self::Item> {
        let mut vec = Vec::with_capacity(self.len() as usize);
        let mut i = 0;
        while let Some(item) = self.get(i) {
            vec.push(item);
            i += 1;
        }
        vec
    }
fn to_vec ( & self ) -> Vec < Self :: Item > { let mut vec = Vec :: with_capacity ( self . len ( ) as usize ) ; let mut i = 0 ; while let Some ( item ) = self . get ( i ) { vec . push ( item ) ; i += 1 ; } vec }
Returns a [Vec] in linear memory where each element in the sequence has been copied into the
[Vec] in sequence order.
Returns a [ Vec ] in linear memory where each element in the sequence has been copied into the [ Vec ] in sequence order .
&self
&self