pub(crate) fn push_back(&mut self, value: T) {
        let queue = self.queue.get_or_insert_with(Default::default);
        if queue.len() as u32 == self.max_len {
            queue.pop_front();
            self.dropped_count += 1;
        }
        queue.push_back(value);
    }
/// Push a new element to the back of the queue, dropping and
/// recording dropped count if over capacity.
Push a new element to the back of the queue, dropping and
recording dropped count if over capacity.
Push a new element to the back of the queue dropping and recording dropped count if over capacity .
pub(crate) fn push_back(&mut self, value: T) {
        let queue = self.queue.get_or_insert_with(Default::default);
        if queue.len() as u32 == self.max_len {
            queue.pop_front();
            self.dropped_count += 1;
        }
        queue.push_back(value);
    }
pub ( crate ) fn push_back ( & mut self , value : T ) { let queue = self . queue . get_or_insert_with ( Default :: default ) ; if queue . len ( ) as u32 == self . max_len { queue . pop_front ( ) ; self . dropped_count += 1 ; } queue . push_back ( value ) ; }
Push a new element to the back of the queue, dropping and
recording dropped count if over capacity.
Push a new element to the back of the queue dropping and recording dropped count if over capacity .
&mut self
value
T
&mut self
value
T