1use crate::Buffer; 2 3impl Buffer { 4 #[inline] 5 #[must_use] 6 pub const fn is_empty(&self) -> bool { 7 self.len() == 0 8 } 9}