Returns true if this [`BooleanBuffer`] is equal to `other`, using pointer comparisons to determine buffer equality. This is cheaper than `PartialEq::eq` but may return false when the arrays are logically equal
(&self, other: &Self)
| 535 | /// to determine buffer equality. This is cheaper than `PartialEq::eq` but may |
| 536 | /// return false when the arrays are logically equal |
| 537 | pub fn ptr_eq(&self, other: &Self) -> bool { |
| 538 | self.buffer.as_ptr() == other.buffer.as_ptr() |
| 539 | && self.bit_offset == other.bit_offset |
| 540 | && self.bit_len == other.bit_len |
| 541 | } |
| 542 | |
| 543 | /// Returns the inner [`Buffer`] |
| 544 | /// |