pub fn iter_repeat(&self, item: T, count: usize) -> DataRefIteratorCloned<'_, T>
    where
        T: FromBytes + Clone,
    {
        DataRefIteratorCloned::<'_, T> {
            count,
            default: Some(item),
            entries: b"",
            index: 0,
        }
    }
/// Return an iterator that repeats the same item `count` times.
Return an iterator that repeats the same item `count` times.
Return an iterator that repeats the same item ` count ` times .
pub fn iter_repeat(&self, item: T, count: usize) -> DataRefIteratorCloned<'_, T>
    where
        T: FromBytes + Clone,
    {
        DataRefIteratorCloned::<'_, T> {
            count,
            default: Some(item),
            entries: b"",
            index: 0,
        }
    }
pub fn iter_repeat ( & self , item : T , count : usize ) -> DataRefIteratorCloned < ' _ , T > where T : FromBytes + Clone , { DataRefIteratorCloned :: < ' _ , T > { count , default : Some ( item ) , entries : b" " , index : 0 , } }
Return an iterator that repeats the same item `count` times.
Return an iterator that repeats the same item ` count ` times .
&self
item
T
count
usize
&self
item
T
count
usize