ps_buffer/implementations/
partial_eq.rs

1use crate::Buffer;
2
3impl PartialEq for Buffer {
4    fn eq(&self, other: &Self) -> bool {
5        if self.len() != other.len() {
6            return false;
7        }
8
9        self[..] == other[..]
10    }
11}