fn new(data: Vec<Self::Inner>, len: usize) -> Self {
        debug_assert!(data.iter().all(|&(i, _)| i < len));
        debug_assert!(data.is_sorted_by_key(|&(i, _)| i));
        debug_assert!(data.iter().all(|(_, v)| v.borrow().is_not_zero()));
        debug_assert_ne!(len, 0);
        debug_assert!(data.len() <= len);

        Self {
            data,
            len,

            phantom_comparison_type: PhantomData,
        }
    }
/// Create a vector of length `len` from `data`.
///
/// Requires that values close to zero are already filtered.
Create a vector of length `len` from `data`.
Requires that values close to zero are already filtered.
Create a vector of length ` len ` from ` data ` . Requires that values close to zero are already filtered .
fn new(data: Vec<Self::Inner>, len: usize) -> Self {
        debug_assert!(data.iter().all(|&(i, _)| i < len));
        debug_assert!(data.is_sorted_by_key(|&(i, _)| i));
        debug_assert!(data.iter().all(|(_, v)| v.borrow().is_not_zero()));
        debug_assert_ne!(len, 0);
        debug_assert!(data.len() <= len);
        Self {
            data,
            len,
            phantom_comparison_type: PhantomData,
        }
    }
fn new ( data : Vec < Self :: Inner > , len : usize ) -> Self { debug_assert ! ( data iter ( ) all ( ( i ) i len ) ) ; debug_assert ! ( data is_sorted_by_key ( ( i ) i ) ) ; debug_assert ! ( data iter ( ) all ( ( v ) v borrow ( ) is_not_zero ( ) ) ) ; debug_assert_ne ! ( len 0 ) ; debug_assert ! ( data len ( ) len ) ; Self { data , len , phantom_comparison_type : PhantomData , } }
Create a vector of length `len` from `data`.
Create a vector of length ` len ` from ` data ` .
data
Vec<Self::Inner>
len
usize
data
Vec<Self::Inner>
len
usize