pub fn is_empty(&self) -> bool {
        let head = self.head.load(Ordering::SeqCst);
        let tail = self.tail.load(Ordering::SeqCst);
        head == tail
    }
/// Checks if the ring buffer is empty.
Checks if the ring buffer is empty.
Checks if the ring buffer is empty .
pub fn is_empty(&self) -> bool {
        let head = self.head.load(Ordering::SeqCst);
        let tail = self.tail.load(Ordering::SeqCst);
        head == tail
    }
pub fn is_empty ( & self ) -> bool { let head = self . head . load ( Ordering :: SeqCst ) ; let tail = self . tail . load ( Ordering :: SeqCst ) ; head == tail }
Checks if the ring buffer is empty.
Checks if the ring buffer is empty .
&self
&self